• Resolved Jim

    (@jwmc)


    I’ve got one gallery that, after loading, has the thumbnail sizes staggered oddly until I resize the window, then it looks correct. Gallery was built in the page editor, not using shortcode.
    On load:

    After resizing:

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author GalleryCreator

    (@gallerycreator)

    Hello,
    this is because you are adding a clear-right (CSS class) to the gallery block, which does not allow you to properly determine the size of the thumbnails and the number of columns

    Thread Starter Jim

    (@jwmc)

    Oh, duh, sorry to waste your time. And thank you.

    on which level/class did you find the clear? I think I might have the same issue, but can’t find where the clear might/is applied.

    • This reply was modified 2 years, 8 months ago by anke911.
    Thread Starter Jim

    (@jwmc)

    I think it must have been the highest level div with classes that start with pgc*. Look at the page editor that has the problem gallery and see if you applied Custom CSS or a class (under Advanced) to the gallery block there.

    If not, look at the page with developer tools to see the styles applied to the highest level div of the gallery, and see if there is any “clear” property there. You may have put something in your style.css that selects galleries.

    Thanks for your reply! I looked at every level and tried to apply “clear: both”, “clear: none” in combination with “float:none”, but it still doesn’t work. I am using the builder oxygen. Maybe the conflict is there. I’m gonna test it on a fresh install with and without oxygen. Maybe I’m gonna find the culprit. This is by far the best gallery plugin I found and I won’t give it up that easily xD

    Thread Starter Jim

    (@jwmc)

    Just to be clear, you do NOT want clear. That is what caused the problem for me.

    Yeah I got that. But I didn’t find any clear to delete. So I am trying to “neutralize” any clear I am currently not finding.

    Thread Starter Jim

    (@jwmc)

    If you want to post a link to the page I could help take a look.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Gallery formatted wrong until resize window’ is closed to new replies.