Support » Fixing WordPress » How to align images to the left of text in a WordPress excerpt

  • Resolved Total Tech 101


    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:“>
    This is a website that has the images to the left:

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.


    Moderator Andrew Nevins


    Forum moderator

    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.

    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.

    No Problem! Your very welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to align images to the left of text in a WordPress excerpt’ is closed to new replies.