- This topic has 9 replies, 2 voices, and was last updated 6 years, 5 months ago by Leo.
-
AuthorPosts
-
November 19, 2017 at 3:48 am #427990Martin
How can I remove titles and subtitles in single post?
Concrete: How to remove the 2 “Franziska Baumgartner” in http://franziska-baumgartner.ch/cantonale-berne-jura/
Any GP Premium switches to do that? Or do I need some CSS code?
Thanks for any help.
MartinNovember 19, 2017 at 6:34 am #428081LeoStaffCustomer SupportHi there,
I’m not seeing 2 of them?
You can remove the title in single post by using this CSS:
.single .entry-header { display: none; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
November 20, 2017 at 5:10 am #428837MartinHi Leo
Thanks – but doesn’t work?!
Here is what I have till now in simple custom css:
/* Disable Header of Blog Page */
.blog .site-header,
.archive .site-header {
display: none;
}
/* Disable Footer of Blog Page */
.blog .site-footer,
.archive .site-footer {
display: none;
}
/* Disable Header of Single Post */
.single .entry-header {
display: none;
}Disable Header and Footer of Blog page: ok
Disable Header of single post: not okAny modifications?
Thanks
MartinNovember 20, 2017 at 6:17 am #428897LeoStaffCustomer SupportAhh you are talking about the site title and tag line.
Try this instead:
.single .site-header { display: none; }
November 20, 2017 at 10:49 am #429186MartinSorry for my wording. Site title and tag line is what I want to remove when looking at single posts, you are right ๐
But: Site title and tag line still there with your second css proposal.
Any idea what’ss going wrong?Regards
MartinNovember 20, 2017 at 10:52 am #429189MartinCurrent custom CSS:
/* Disable Site Title of Blog Page */
.blog .site-header,
.archive .site-header {
display: none;
}
/* Disable Site Footer of Blog Page */
.blog .site-footer,
.archive .site-footer {
display: none;
.single .site-header {
display: none;
}November 20, 2017 at 12:07 pm #429273LeoStaffCustomer SupportYou missed a closing bracket in:
.blog .site-footer, .archive .site-footer { display: none; .single .site-header { display: none; }
Try:
.blog .site-footer, .archive .site-footer, .single .site-header { display: none; }
November 25, 2017 at 12:41 am #433505MartinHi Leo
Thank you for checking the syntax of my little little piece of code. How embarrassing!
However – everything is ok now.
Site title and tag line disappear when CSS is coded correctly ๐Thanks a lot for your immediate and fast support.
Best regards
MartinNovember 25, 2017 at 12:51 am #433508MartinThis is now my custom css, as it should be:
/* Disable Site title and tag line of blog page */
.blog .site-header,
.archive .site-header {
display: none;
}
/* Disable site footer of blog page */
.blog .site-footer,
.archive .site-footer {
display: none;
}
/* Disable site title and tag line of single posts */
.single .site-header {
display: none;
}November 25, 2017 at 6:29 am #433691LeoStaffCustomer SupportNo problem!
-
AuthorPosts
- You must be logged in to reply to this topic.