Archived topic
Child style.css not working
5 replies · Started by cypyjh on May 13, 2022
Hello,
I'm using:
WordPress 5.9.3
GeneratePress Versión: 3.1.3
All plugins disabled, including GP Premium
Child theme downloaded from generatepress.com
functions.php has only:
<?php
/**
* GeneratePress child theme functions and definitions.
*
* Add your custom PHP in this file.
* Only edit this file if you have direct access to it on your server (to fix errors if they happen).
*/
Custom CSS - empty
Child theme style.css has only:
.entry-title h1 {
font-size: 120px;
}
does nothing!
Hi there,
the CSS selector is incorrect instead of: .entry-title h1 it is: h1.entry-title
But you can use the Customizer > Typography to style that.
Sorry, it was my mistake. I didn't activate the child theme XD!
You can delete this topic.
Sorry, sorry, sorry.
GP does all the work for you.
Just download the blank child theme from here:
https://docs.generatepress.com/article/using-child-theme/
Install and activate, then add to the styles.css - don't do any enqueueing for the stylesheet in your functions as GP does that already.
Sorry, I have edited my comment. It was my mistake. Sorry!
No need for sorries :)
Glad to hear you got it working!