WordPress.org

Ready to get started?Download WordPress

Forums

Bootstrap Ultimate
[resolved] Aligning images in pages (8 posts)

  1. wrightj2
    Member
    Posted 3 months ago #

    Hi - I'm struggling to get images to align correctly. I insert an image in a page and tell it to align right (using the built in media manager), it looks find in "visual/preview mode" but is not aligning on my actual site.
    Is there something in the theme CSS that is overriding it?

    Thanks

  2. eminozlem
    Member
    Theme Author

    Posted 3 months ago #

    Do you have a link so I can check it out ?

  3. wrightj2
    Member
    Posted 3 months ago #

    this isn't the actual site i am working on (i'm running that locally) but I've recreated the same issue here http://ecommercemasterclass.com/?page_id=25
    The image is set to align to the right of the bullet points. But it doesn't (I'm running Chrome)

    The code generated by wordpress is:

    '

  4. eminozlem
    Member
    Theme Author

    Posted 3 months ago #

    Right, just like I guessed. The lightbox images are added a "cbinl" class with a float:left property in order to align with text.
    I'll make sure to find another way for the next version, but for now to overcome this you can add the counter class "cbinr" to the image.

  5. wrightj2
    Member
    Posted 3 months ago #

    Got it and it is working. Thank you.

  6. eminozlem
    Member
    Theme Author

    Posted 3 months ago #

    Glad it worked. I wonder if I should leave it as it is.
    I mean if I make the image float to left I save people the trouble of floating them every time. OTOH it might be confusing for some people.
    It was actually mentioned in About > Tips section but noone goes there usually.

  7. wrightj2
    Member
    Posted 3 months ago #

    Personally I'd take it out and let people position it using the built in function in WP. It's confusing when a standard function doesn't work.

    Nice theme btw, have found a few other little niggles with it that I will raise when I get 5 mins.

    Thanks

  8. eminozlem
    Member
    Theme Author

    Posted 3 months ago #

    Right, better revert to default behaviour. Let me know if you've further problems / suggestions & feel free to rate-review, all kind of feedback helps.

Reply

You must log in to post.

About this Theme

About this Topic

Tags