Static home page and Active State
-
Hi there,
I’ve switched my home page to be a static page using the Options/reading method in WP admin, and created a News page to house the blog posts. All is good, however the Main menu CSS isn’t working properly now: these 2 pages are not getting the proper CSS applied to them when they are the current or active page state. All the other pages are ok.
I am not a coder or CSS expert. Any suggestions? Oh, I also had to use the exclude_page plugin because the designated Home page kept appearing in the main menu too.
The site is https://streelymaidfilms.com
Theme is techdesignscouk-004-v10I’ve found this code in the header.php page. Not sure if that helps.
<?php if (is_page()) { $highlight = “page_item”; } else {$highlight = “page_item current_page_item”; } ?>
thanks…
- The topic ‘Static home page and Active State’ is closed to new replies.