Adding DropUp Navigation in Home Page Only

  • Author
  • #3311968


    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

The topic ‘Adding DropUp Navigation in Home Page Only’ is closed to new replies.