PROBLEM: Alignment of images on a page ...

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by gloryous, Jan 3, 2014.

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

    gloryous Member

    Joined:
    May 25, 2012
    Messages:
    223
    Likes Received:
    8
    Beautiful theme!

    When adding images to a page and designating right justified (either in Edit Image or the Nav Bar options on the page), the resulting image placement is not as designated. It remains left justified (and non-wrapping) when the other placement is requested.

    The editing page shows that it's aligned right and HTML indicates align right, but it's not happening on the resulting web page:

    http://demo33.digitalwordpower.com/about/

    Please advise. Is it something I've done or am not doing? Thank you.
    Glory

    Interestingly, the align center didn't work initially for the image at the top, but it's now centering that image. (There was a lag time. Strange.) But not the align right for the image at the bottom of the page. It's still aligning LEFT.
     
  2. Nitesh

    Nitesh Support Staff

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

    For this,
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > 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}

    Thanks & Regards
    Nitesh Raghuwanshi
     
  3. gloryous

    gloryous Member

    Joined:
    May 25, 2012
    Messages:
    223
    Likes Received:
    8
    Thank you, Nitesh. Your solution fixed the issue.

    With much appreciaton,
    Glory
     
Thread Status:
Not open for further replies.

Share This Page