WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to align images to the left of text in a WordPress excerpt (5 posts)

  1. Total Tech 101
    Member
    Posted 1 year ago #

    Hi I am new to WordPress and have been have a problem with the excerpts in the Catch box theme. I would like the image to be on the left of the text but the images always appear on the top. I have looked at some other forums here, but none of them tell you where to put the code. If anyone can tell me the code and where to put it it will be greatly appreciated.

    This is my website: http://www.blog.totaltech101.com/">
    This is a website that has the images to the left:
    Thanks

  2. brook1979
    Member
    Posted 1 year ago #

    Hi websoft,

    its in your style.css file on line 4169...you need to add a float:left...add this! and then a margin right to take the text away from the image.

    float: left;
    margin-right: 10px;

    Hope this helps, do it one step at a time so you can see what happens! Then next time you will know what it is. Try and use firebug for firefox also, its a great tool.

    Carl

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    Make sure you don't update your theme while having made modification to the theme's files. Your changes will be lost.

    Use a Child Theme for modifications.

  4. Total Tech 101
    Member
    Posted 1 year ago #

    Thank You so much for the help. For future people reading this forum the code
    float: left;
    margin-right: 10px;
    Should go right above this code
    border: 1px solid #ccc;
    padding: 6px;
    Which is under /* Image borders */ on about line 4168, as of now on the Catch Box.
    Thank you very much for the help brook1979.

  5. brook1979
    Member
    Posted 1 year ago #

    No Problem! Your very welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic