- This topic has 10 replies, 3 voices, and was last updated 7 years, 5 months ago by
Tom.
-
AuthorPosts
-
October 14, 2015 at 12:52 pm #144382
Alexander
Hi Tom,
I am using the disable option on the pages to not display my secondary menu. However on my posts page (BLOG) it still shows up even if I have it disabled.
http://www.ajnorfield.com is the website.
Alexander
October 14, 2015 at 2:52 pm #144415Alexander
It seems that Blog page is not correctly refreshing or something. I still see the mailpoet newsletter subscribe widget on that page as well, while the plugin is currently deactivated…
At least in Firefox, as I do NOT see it in Chrome…
October 14, 2015 at 3:06 pm #144423Alexander
Okay reactivated W3 cache and emptied all caches, now at least the newsletter etc. does not show anymore. However secondary menu is still there.
Seems to me because I make it the “posts” under the ‘set front page’ option it somehow ignores the disabled elements menu of the page created.
Alexander
October 14, 2015 at 4:53 pm #144437bdbrown
I think you’re right. When set as the “Posts page” the main body class changes from “page” to “blog”. Probably something for Tom to review.
October 14, 2015 at 8:01 pm #144464Tom
Lead DeveloperLead DeveloperWhen a page is set as a blog, WordPress ignores all page specific meta – kind of annoying.
To hide the secondary navigation on your blog, use this CSS:
.blog .secondary-navigation { display: none; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 14, 2015 at 8:17 pm #144468bdbrown
Good to know. Thanks Tom π
October 14, 2015 at 11:18 pm #144491Tom
Lead DeveloperLead DeveloperNo problem! It’s the same reason we need a Blog Page Header options page, and a Blog Sidebar Layout option in the Customizer.
Let me know if that works for you or not Alexander π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 17, 2015 at 1:20 am #145093Alexander
Hi Tom,
Thanks for the reply. As I am not fully familiar yet with editing the CSS directly I just wanted to double check which of the CSS files I should edit for that. I am currently using the GeneratePress Main theme and I thought I read somewhere I would first have to create a child theme for my site, as if I don’t the next theme update will overwrite my changes. Is that correct?
I can easily FTP into the site and access the CSS files, but there are plenty to choose from. π
So do I need to go here: ../wp-content/themes/generatepress/css/ ?
Or somewhere else π
I have not set the CSS to writing rights apparently as I can not edit the CSS directly from the wordpress dashboard.
Much appreciated!
Alexander
October 17, 2015 at 6:08 am #145156Alexander
Hi Tom,
Saw your signature link with adding CSS. Working on it ^_^.
Alexander
October 17, 2015 at 6:29 am #145161Alexander
Worked like a charm. Jetpack was still on the list to install and activate anyways. Used their custom CSS option to add those lines.
I would call this one solved π
October 17, 2015 at 9:13 am #145219Tom
Lead DeveloperLead DeveloperGlad it worked! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.