Support » Fixing WordPress » 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
    Theme is techdesignscouk-004-v10

    I’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”; } ?>


Viewing 2 replies - 1 through 2 (of 2 total)
  • I can’t see anything wrong with the theme. It looks nice. What is messed up? I haven’t see what it is supposed to look like, so many describe what it supposed to look like in comparison with with it looks like now.

    The Main menu isn’t working properly.

    When you are on the Home page, the Main menu is not showing the proper style. The style for an active page is bright pink background with white letters.

    Same for News page. I this is because I switched the Home page to a static page, and the original blog posts page became the News page.

    All other pages are working fine, but these are not showing the active state.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Static home page and Active State’ is closed to new replies.