• muaysteve

    (@muaysteve)


    I have the same issue with my galleries stacking exactly as shown after the most recent update to 6.1

    I’m running the Genesis framework with the Revolution Pro theme.

    I found one discrepancy: It seems to only happen on pages where I have inserted the gallery mid page with no containers etc separating content.

    On another page where I have all the various content in separate own containers, the Image Gallery inserted between containers is displaying properly.

    I am guessing the solution is to wait for 6.1.1?

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter muaysteve

    (@muaysteve)

    You can see here on another page where the gallery is outside of containers that it is working fine:

    https://www.easterseals.org/volunteering/

    Stef

    (@serafinnyc)

    The page you need help with has completely different markup than the one that looks good. So it almost appears as if they weren’t created the same. If that makes any sense.

    Thread Starter muaysteve

    (@muaysteve)

    Thanks for the reply.

    It does, but I don’t believe that is the issue. Both pages displayed the galleries properly up until the latest patch. This seems to be an issues multiple people are having: (I was asked to create my own thread, though we all seem to be having the exact same issue)

    https://www.ads-software.com/support/topic/wordpress-gallery-not-working-with-6-1/#post-16178091

    ChadUM

    (@chadum)

    I’m having the exact same issue using GeneratePress. They tell me this is an issue in WordPress that needs to be patched.

    Thread Starter muaysteve

    (@muaysteve)

    Well 6.1.1 did not fix my gallery issue.

    Stef

    (@serafinnyc)

    Sorry, but I disagree. That is the problem. Your markup is completely different in the good page than the bad page. So you’re not going to get the same results.

    In the good page there is a blocks-gallery-item and in the bad page there isn’t.

    Maybe you’re not explaining this correctly? That’s what I see in the code/markup

    Thread Starter muaysteve

    (@muaysteve)

    Without getting into the technical details of it all, I think the logic if it comes down to this. Before 6.1 the galleries worked properly on both pages. After 6.1 they stopped work on all my pages where the gallery is in a simple page layout with paragraphs and no containers

    (I don’t know how to describe this in “blocks” terms.)

    This breaks:

    <p>
    <p>
    <image gallery>
    <p>
    <p>

    This doesn’t:

    <container>
    <p>
    </container>

    <image gallery>

    <container>
    <p>
    </container>

    Apparently a know issue still:
    https://core.trac.www.ads-software.com/ticket/56970

    Thanks for the response, sorry if I’m not being clear, I am buried in other projects this week and this is more of a nuisance issue right now.

    Stef

    (@serafinnyc)

    All I know is if something is working on one page there’s no reason it can’t work on another. You can’t easily duplicate the working page and swap out the content for the other?

    Both pages are completely different is all I’m saying and that’s sorta like trying to compare oranges to apples.

    Stef

    (@serafinnyc)

    This is a hack if you want to use it using an html block. I haven’t used Genesis since, well the late 90s.

    Here’s a preview

    From here you can add the correct sizes based on the site’s image sizes.

    <figure class="is-layout-flex wp-block-gallery-1 wp-block-gallery alignwide columns-2 is-cropped">
    	<ul class="blocks-gallery-grid">
    		<li class="blocks-gallery-item">
    			<figure>
    				<a href="https://www.easterseals.org/wp-content/uploads/17756/Eric-Lindros-Draft-Night.jpg">
                      <img decoding="async" loading="lazy" width="600" height="400" src="https://www.easterseals.org/wp-content/uploads/17756/Eric-Lindros-Draft-Night.jpg" >
                   </a>
                 </figure>
            </li>
    
            <li class="blocks-gallery-item">
                <figure>
                	<a href="https://www.easterseals.org/wp-content/uploads/17756/Rick-Vaive-NHL-Alumni.jpg">
                       <img decoding="async" loading="lazy" width="600" height="400" src="https://www.easterseals.org/wp-content/uploads/17756/Rick-Vaive-NHL-Alumni.jpg">
                    </a>
                </figure>
            </li>
        </ul>
    
    <figcaption class="blocks-gallery-caption"> Whatever you wanted to say here because this is the caption. </figcaption>
    </figure>
    

    And now you can wait for the bug report, but have a working page while you wait.

    Thread Starter muaysteve

    (@muaysteve)

    @serafinnyc

    It looks like this little bit of css had fixed it for now:

    .is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    }

    But I hope they get it added to a patch.

    Thanks for your time on this. It is appreciated.

    Stef

    (@serafinnyc)

    There you go. Whatever works. Oh thing is, I tried that in console and it didn’t work. ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Galleries stacking after update to 6.1’ is closed to new replies.