[Support request] Generatepress does not take into account my media queries.

Home Forums Support Generatepress does not take into account my media queries.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1314007
    Guillemette

    I’m working on a GeneratePress child theme and I need to add custom CSS to the media queries.
    I added on my stylesheet for exemple a very basic instruction :

    @media
    (max-width: 768px) {
    .al2 {
    color:red;
    }
    }

    My CSS at the Media queries level is not taken into account, the text does not turn red.
    The rest of my CSS (outside of the media queries) is taken into account.

    Why 🙂

    #1314093
    David
    Staff
    Customer Support

    Hi there,

    you have some broken CSS:

    /* Widget */
    .footer-widget-3 {
        text-align: center;
    }
    
    .footer-widgets-container.grid-container.grid-parent {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    }

    Remove those last 4 lines.

    #1314120
    Guillemette

    Oh sorry !

    #1314124
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.