• Resolved alansnell

    (@alansnell)


    Hi There

    Is there a way to hide a Kadence gallery / slider block on a page for mobile to speed up load times on mobile? Example is to hide the top block on the page link supplied.

    Many thanks

    Al

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hi Al,
    You can do that using css like this:

    @media (max-width: 768px) {
    #post-9243 .wp-block-kadence-advancedgallery.alignfull.kb-gallery-wrap-id-_617b55-bb {
        display: none;
    }
    }

    Does that work for you?

    Regards,
    Hannah

    Hi,
    you can also add your block into a row layout block, then in the row layout block “visibility” settings you can hide it for mobile.

    Ben

    Thread Starter alansnell

    (@alansnell)

    Perfect, thank you both.

    I went for the simple hide row visibility route.

    Cheers

    Al

    • This reply was modified 4 years, 3 months ago by alansnell.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide a gallery block on mobile’ is closed to new replies.