- This topic has 20 replies, 5 voices, and was last updated 6 years ago by .
- You must be logged in to reply to this topic.
Do you have this line in your child theme style.css file?
@import url("../generatepress/style.css");
If so, remove it and try again.
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development
I want to hide author and date in post in a child theme what code to use and where do I put it?
many thanks
where do I need to ad this code ? .byline {display: none !important;}
I am trying with no result it has to be in the Parent theme or in the child theme and where? I am using the GP child theme.
Hi there,
Our Blog add-on allows you to do this in the Customizer.
Alternatively you can use this CSS:
.entry-header .entry-meta {
display: none;
}
If you’re using the child theme you can add it in “Appearance > Editor”.
Another option is to use the PHP filters: https://generatepress.com/knowledgebase/filter-list/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development
I just tried the ccs solution it wont work I am wondering hot to solve this due I am not good with php what code can I add to function.php file for this to work many thanks
Can you link me to your site with the above CSS added so I can see what’s going on?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development
© 2022 EDGE22 Studios LTD.