Menu shading on my blog/podcast page is not showing up..due to static home page?
-
On my site @ https://www.atriskstoriesofhope.com I’m having a hard time getting the shading on my blog/podcast menu button. I set my home page up as a static page that loads when someone goes to the site. I’ve got no idea why the shading is working for every page other than my blog/podcast page. Do I need to use a is_front_page in there?
<li <?php if (is_home('home') || is_category()) echo 'class="menu-hover"'; ?> ><a href="/home">Home</a></li> <li <?php if (is_page('36')) echo 'class="menu-hover"'; ?> ><a href="/services">Services</a></li> <li <?php if (is_page('42')) echo 'class="menu-hover"'; ?> ><a href="/media">Media</a></li> <li <?php if (is_page('51')) echo 'class="menu-hover"'; ?> ><a href="https://www.atriskstoriesofhope.com/blog-posts">Blog/Podcast</a></li> <li <?php if (is_page('52')) echo 'class="menu-hover"'; ?> ><a href="/contact">Contact</a></li> <li <?php if (is_page('2')) echo 'class="menu-hover"'; ?> ><a href="/members">Members</a></li>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Menu shading on my blog/podcast page is not showing up..due to static home page?’ is closed to new replies.