How to align my text to the right of the featured image in wordpress?

4 replies
  • WEB DESIGN
  • |
Hello,

I have a blog theme and the text in the post starts below the image. Can you tell me step by step how to align the text to the right of the image for all the posts automatically? :confused:

Here is my site: www.start-your-online-business.com

Urget: (Show me some love)

Thank you,
Zourkas
#align #featured #image #text
  • Profile picture of the author Brandon Tanner
    Go to your main.css file, located at...

    http://start-your-online-business.com/wp-content/themes/blogmag-theme/css/main.css?ver=1.0

    On line 1728 in that file, you should see...

    .single-post .wp-post-image {

    Add the following directly below that line...

    float: left;
    margin-right: 20px;


    You might have to tweak the margin settings a little bit to get it just right, but that should get you pretty close.
    Signature

    {{ DiscussionBoard.errors[8265237].message }}
    • Profile picture of the author zourkas
      Originally Posted by Brandon Tanner View Post

      Go to your main.css file, located at...

      http://start-your-online-business.com/wp-content/themes/blogmag-theme/css/main.css?ver=1.0

      On line 1728 in that file, you should see...

      .single-post .wp-post-image {

      Add the following directly below that line...

      float: left;
      margin-right: 20px;


      You might have to tweak the margin settings a little bit to get it just right, but that should get you pretty close.
      Brandon the link you sent me does not work
      {{ DiscussionBoard.errors[8265249].message }}
  • Profile picture of the author zourkas
    I go to style.css but there isn't there any code with thousands of lines.... :/
    {{ DiscussionBoard.errors[8265260].message }}
    • Profile picture of the author Brandon Tanner
      That's the correct link... WF just won't let you click straight through to it, for some reason (you can manually copy & paste it in your browser though, and it will work).

      Regardless... browsing to that file isn't going to do you any good, because you need to actually edit it (via FTP, or WP admin, etc). I only posted the link to it so you would know where to look for it on your server.

      wp-content > themes > blogmag-theme > css > main.css
      Signature

      {{ DiscussionBoard.errors[8265296].message }}

Trending Topics