Site logo

Archived topic

Responsive @media doesn't work in child theme

3 replies · Started by Stefano on February 8, 2021

Viewing posts 1–4 of 4

Hello,

I have been using child themes for years, and in my style.css files I always add @media queries for responsive layout, but these don't work with GeneratePress.

I use GeneratePress Pro, I noticed that it creates a design.css file in the core and this file overwrites my style.css file in my generatepress-child folder, so in this design.css file I don't see my responsive code... Is this causes my problem?

How can I resolve, please? Thank you in advance.

Hi there,

GP doesn't create a design.css style sheet. That must be coming from another plugin.
If you can share a link to a page, and let me know what elements you're trying to style with the @media from your child theme, i can take a look.

Thank you, David ;)

I use a security plugin, maybe it generates this file. However the problem was my responsive checker tool, not my code or my plugins, I've lost time for this... :/

Thank you again

Glad to hear you found the issue!

This archived topic is closed to new replies.