Images Do Not Align Correctly

Discussion in 'Blackriders WordPress Theme' started by michael_price, Oct 24, 2013.

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

    michael_price Guest

    Joined:
    Oct 22, 2013
    Messages:
    6
    Likes Received:
    0
    Location:
    Amarillo, Texas
    Yes, I've seen the post with instructions to add code to the custom CSS. However, what that creates is a universal alignment. In other words, if you add the custom code to align right, every image on every page uses that alignment. Is there a way to use the normal image alignment for Wordpress?

    This issue makes this otherwise fabulous theme unusable for my clients.
     
  2. flowofhealth

    flowofhealth New Member

    Joined:
    Aug 29, 2013
    Messages:
    2
    Likes Received:
    0
    I am having the same problem. How do insert images on pages?
     
  3. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    While posting images WordPress provide alignment option through which you can align images left, right or center.
    Theme don't have any image alignment css at the fullwidth or default page.
    But yes if you want to align any image through css. Then provide page link.
    I will provide you code for it.
     
  4. michael_price

    michael_price Guest

    Joined:
    Oct 22, 2013
    Messages:
    6
    Likes Received:
    0
    Location:
    Amarillo, Texas
    On some pages I want images to align some images right, some left and some center. Can't the css file be updated to handle this? A premium theme like this should have this very basic functionality.
     
  5. cholcombe

    cholcombe New Member

    Joined:
    Oct 12, 2013
    Messages:
    19
    Likes Received:
    0
  6. bpmarketing11

    bpmarketing11 Member

    Joined:
    Dec 28, 2011
    Messages:
    49
    Likes Received:
    3
    Yes, how do we choose to align images left, center, or right?

    On some pages I need images on the left and the right. And I need the test to wrap.

    Why isn't the WordPress alignment function working?
     
  7. 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 issue.
     
    bpmarketing11 likes this.
  8. bpmarketing11

    bpmarketing11 Member

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

Share This Page