Tagged: child, custom.css
I am trying to get the custom.css to work in my child theme, but nothing seems to work (Enfold 2.6.1). I can test “H1 {display: none;}” on the parent theme’s custom.css, and the headlines disappear on my smartphone. But in my child theme, whether I leave the custom.css file at the top level or in a folder labeled “CSS” (as is done on in the parent), it does not work and the H1 remains visible. (So my child custom.css isn’t communicating at all with the smartphone.)
I have looked through the documentation and nothing is clear to me regarding my doing something wrong.
Can you please help me get my child custom.css to work?
Thank you,
Keith
Hey keithcrest!
You can add your custom CSS in Style.css file of your child theme
Cheers!
Yigit
Hey, that does work! That is REALLY confusing, since there is a separate “custom.css” file that I thought was needed to target screen sizes (vs. the “styles.css” file). Some themes work that way…separate css files…and I thought that was how this worked, too. Anyway…thank you for the clarification :-)
Hey!
You are welcome Keith, glad we could help :) I think i can mark your other thread ( https://kriesi.at/support/topic/enfold-upgrade-custom-css-help-request/ ) as resolved as well?
Cheers!
Yigit
Seriously – Why is there a custom.css when we really need to use style.css?
And something is wrong with the forum – I have to send all comments twice. I get a blank screen every time I send a comment.