Site logo

[Resolved] CSS shadows not showing on Mobile (GBlocks)

Home Forums Support [Resolved] CSS shadows not showing on Mobile (GBlocks)

Home Forums Support CSS shadows not showing on Mobile (GBlocks)

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1573339
    Jose

    Hello team,

    Thank you for the update however now with GB 1.2 the CSS shadows are not showing on Mobile for grid containers on my homepage.

    You can see here on desktop
    https://proyectovidaplena.com/

    Im using
    Class: testimonio-box

    .testimonio-box {
        box-shadow: 0 0 10px rgba(220,224,228,0.95)
    }

    Screenshot attached.

    Please help.

    #1573365
    Leo
    Staff
    Customer Support

    Hi there,

    This shouldn’t be a GB issue.

    I’m seeing the CSS wrapped in desktop only media query:
    https://www.screencast.com/t/oJVmINnrWrA

    That’s why it’s not working on mobile.

    #1573388
    Jose

    Wow superfast reply! 👍

    ok… and how can I unwrap?

    I did not touch anything besides Today I updated WordPress and GB.

    PD.

    Im using on page editor Simple CSS.

    .testimonio-box
    {
    box-shadow: 0 0 10px rgba(220,224,228,0.95)
    }

    #1573392
    Leo
    Staff
    Customer Support

    I’d assume you have a @media (min-width: 769px) { somewhere in your CSS that is missing a closing bracket }.

    WordPress and GB don’t have the ability to modify your custom CSS in Simple CSS – otherwise our support forum would be flooded with angry people today 😉

    #1573405
    Jose

    We dont want that!

    Umm the last CSS that was added was to hide the Search Icon on mobile.

    Pls see all CSS I could find:

    https://drive.google.com/file/d/1ykG0ytht01D8pJyEsmy_WvGXurYkmtev/view?usp=sharing

    #1573413
    Leo
    Staff
    Customer Support

    Looks like you are missing a closing bracket in a couple of places:
    https://www.screencast.com/t/yW61QuCu2

    Every media query requires a closing bracket as seen here:
    https://docs.generatepress.com/article/responsive-display/#responsive-breakpoints

    #1573420
    Jose

    Fixed!
    You’re the man 🙌
    Gracias amigo.

    #1573429
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.