Adding DropUp Navigation in Home Page Only

  • Author
    Posts
  • #3311968

    husbagm
    Member

    Hi Guys……In the Twenty Seventeen child theme i have code that i have added to get the sub topics in the navigation bar to go up rather than the traditional down thanks to another support question.

    #site-navigation ul li:hover ul { bottom:100%; top:auto; }
    #site-navigation ul ul li:hover ul { bottom:0;
    }

    This is because the front page picture goes all the way to the bottom and the navigation bar is below that so that you do not see the subtopics when you hover over them without scrolling down first to view them. However this code works across all the pages you are in, and in all other pages the drop down method is more appropriate because front page is at a higher point in screen.
    How can we get the Navigation Bar code above to just drop up when you are in the Home page. I know it is not consistent for the site but i think it provides better usability for the user in this twenty seventeen theme.

    The blog I need help with is husbagm124.wordpress.com.

You must be logged in to reply to this topic.