Januas

  1. Home
  2. Docs
  3. Januas
  4. Frequently Asked Questions
  5. How to display the submenu as dropdown?

How to display the submenu as dropdown?

Please follow the instruction below to display the sub menu as dropdown.

1) Please don’t forget to take a backup of the file prior to any change.

2) Open wp-content/themes/januas/lib/styles/style.css via FTP or Cpanel

3) Add the following style at the end of the page:

.menu a:hover {font-weight:normal;}

.menu ul {overflow:inherit;}

#inner-header nav {overflow:inherit;}

.menu ul li {position:relative; }

.menu ul li ul {position:absolute;top:44px; left:0px;padding-top:10px;padding-left:0; visibility:hidden; background:#ddd;}

.menu ul li ul li {display:block;text-align:left !important;left:0;}

.menu ul li ul li a {display:block;width:width: auto;text-align:left !important;font-size:90%; }

.menu ul li:hover ul {visibility:visible;}

.menu ul li:hover ul li {display:block;}

4) Save the file.

 

Was this article helpful to you? Yes No