- This topic has 10 replies, 3 voices, and was last updated 8 years, 8 months ago by
Rodrigo.
-
AuthorPosts
-
July 25, 2017 at 12:03 pm #354765
Joel
I love using GeneratePress but one of the issues I have are my bloggers get confused about what elements they need to disable and don’t always remember to set the sidebar layout to no sidebar etc. The more blogs we post the more annoying this is getting.
Is there a way, even if its through creating a child theme, to automatically disable the elements were not using on every post and set the right layout?
July 25, 2017 at 12:36 pm #354774Leo
StaffCustomer SupportHi there,
You can set the global sidebar layout in the customizer: https://docs.generatepress.com/article/sidebar-layout/
Disable element by default is in the plan 🙂 For now can you let me know which elements you would like to disable?
I should be able to help with some interim solution for now.
July 25, 2017 at 12:57 pm #354777Joel
Thanks for the link, must have missed that one.
At the moment we only leave the navigations on for posts. So we disable Top Bar, Header, Featured Image, Content Title & Footer.
I look forward to this being a feature. Will be very useful to my workflow, thanks!
July 25, 2017 at 1:17 pm #354783Leo
StaffCustomer SupportTry this CSS solution for now:
.single .top-bar, .single .site-header, .single .entry-title, .single .site-footer { display: none; }Adding CSS: https://docs.generatepress.com/article/adding-css/
You can disable featured image in single posts in Customizer > Layout > Page Header > Single Post Header Location > Hide
July 27, 2017 at 4:36 pm #356002Rodrigo
Hi,
I have the same problem, but this option didn’t worked for me.
I want to hide featured image from single custom post type but not from category archive, also from posts from specific categories.
How could I do that?
July 27, 2017 at 7:17 pm #356045Leo
StaffCustomer SupportCan you link me to a page where you want to hide the featured image?
July 27, 2017 at 7:23 pm #356050Rodrigo
Yes, sure. The website is http://moreiraballadares.com, but I want to hide it on single custom post type, like http://moreiraballadares.com/portafolio/confidencial/
I already hide the featured image with “Disable elements” option, but don’t want my client do that all the time, so I want to hide them automatically, via CSS or PHP.
July 27, 2017 at 7:29 pm #356052Leo
StaffCustomer SupportTry this:
.portafolio-template-default .page-header-image-single { display: none; }July 28, 2017 at 10:57 am #356334Rodrigo
I didn’t worked, but it did worked this way:
.page-header-image-single {
display: none;
}Thanks. I think I’ll go with this solution. 😀
July 28, 2017 at 11:29 am #356353Leo
StaffCustomer SupportThat will hide it on all single posts and not just the CPT.
July 28, 2017 at 7:21 pm #356505Rodrigo
I realize that. I changed it to:
.portafolio .page-header-image-single {
display: none;
}and now is working. Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.