Text isn't wrapping correctly around photos

Discussion in 'Blackriders WordPress Theme' started by brownthumbgreen, Sep 18, 2013.

Thread Status:
Not open for further replies.
  1. brownthumbgreen

    brownthumbgreen New Member

    Joined:
    Feb 17, 2013
    Messages:
    12
    Likes Received:
    2
    Since switching my website to the BlackRider Theme, text is no longer wrapping around my photos correctly. Instead of the photo sitting within the text, it sits next to one line of text and the rest is below. How can I change the settings so that the text wraps correctly?

    (For an example of the issue, you can look here: http://www.melanieethridge.com/flourish/ )

    Thanks for you help!
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .page-content .content-bar img{
    float:left;
    }
     
  3. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Gourav will this fix allow the correct wrapping of images that are set to align left or right?
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Yes, The code provided above float blog post image.
     
  5. bpmarketing11

    bpmarketing11 Member

    Joined:
    Dec 28, 2011
    Messages:
    49
    Likes Received:
    3
    This still won't align the images to the right...

    And how do we add padding so that the text doesn't touch the images?
     
  6. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)

    Code:
    img.alignright {float:right; margin:0 0 1em 1em}
    img.alignleft {float:left; margin:0 1em 1em 0}
    img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    a img.alignright {float:right; margin:0 0 1em 1em}
    a img.alignleft {float:left; margin:0 1em 1em 0}
    a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    and then go to the Page > Add new panel in your dashboard and align the images as per your requirement by inserting the images in the page editor.
    This will solve your wrapping issue of text with the images.

    And for the image padding issue,
    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)

    Code:
    .page-content img {
    padding: 10px;
    }
    You can adjust the value of "padding" as per your requirement.
    This will solve your image padding issue.
     
    bpmarketing11 likes this.
  7. bpmarketing11

    bpmarketing11 Member

    Joined:
    Dec 28, 2011
    Messages:
    49
    Likes Received:
    3
    Got it. Thank you.
     
Thread Status:
Not open for further replies.

Share This Page