- This topic has 14 replies, 2 voices, and was last updated 6 years ago by
Leo.
-
AuthorPosts
-
November 27, 2017 at 7:34 pm #436529
Gil
hello sir,
new user here i just have a question how do i remove the header in my category page? i already know how to remove the header in posts and homepage. thanks alot!
November 27, 2017 at 8:11 pm #436560Leo
StaffCustomer SupportHi there,
Try this CSS:
.category .page-header { display: none; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
November 28, 2017 at 7:14 am #436996Gil
hello sir sorry for the late reply when i tried the css that you gave me it removed the category title. i am trying to remove the white bar on top of the navigation because i will not be using a logo in that spot. when i disable element for headers and top bar on my pages and post it works the white bar on the very top of my page is gone. when i tried the css that you gave me it removed the category title.
November 28, 2017 at 7:16 am #436998Leo
StaffCustomer SupportCan you link me to the page?
November 28, 2017 at 7:22 am #437005Gil
can i pm you the link? or just post it here? because i am afraid that others will see my site
November 28, 2017 at 7:23 am #437006Leo
StaffCustomer SupportYou can add it in the original post. It has a URL field that only Tom and myself can see.
November 28, 2017 at 7:24 am #437007Gil
oh ok… is that the link button? sorry a total noob here (NVM)
found it! the link is for the blog page… but if you can see the homepage there is no white bar on top
November 28, 2017 at 7:38 am #437027Gil
i was able to remove the white bar with the disable elements on the page and post edit. i just can remove it in the categories page
November 28, 2017 at 1:04 pm #437261Leo
StaffCustomer SupportThat’s because the WordPress ignores metabox values by default on index pages (blog, archive etc)
I just checked a category page and looks like the issue has been resolved?
Let me know.
November 28, 2017 at 3:40 pm #437372Gil
Hello sir,
The issue thar i am having is still there.
November 28, 2017 at 5:21 pm #437433Leo
StaffCustomer SupportAhh I see what you are talking about now.
Looks like you are trying to hide the header everywhere by default?
If so this should help: https://docs.generatepress.com/article/generate_header/
November 28, 2017 at 7:07 pm #437488Gil
yay works now! thanks alot sir. one question do i need to still to disable the element for top bar and header in posts at pages after i enabled this the code snippet?
and last question i before i switched to generate press i was using a theme from thrive they have an option to add codes like fb pixel and google analytics. is there also a way for me to add the fb pixel code and google analytics code in the theme?
November 28, 2017 at 7:48 pm #437500Leo
StaffCustomer SupportNope that snippet remove the header by default.
They can both go into this GP hook: https://docs.generatepress.com/article/wp-head/
https://docs.generatepress.com/article/hooks-overview/November 28, 2017 at 9:35 pm #437552Gil
Thanks my problem i solved now will try the hooks later.
November 29, 2017 at 8:06 am #437936Leo
StaffCustomer SupportNo problem!
-
AuthorPosts
- You must be logged in to reply to this topic.