Remove inline style of sub-menu

Community Forums Forums Design Tips and Tricks Remove inline style of sub-menu

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Jumpringer 2 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #32025


    Hello all,

    I change the width of #nav li ul as i want to have horizontal menu instead of vertical dropdown

    It works, but now want that the subemnu still display after the user has clicked on one of its subitem, so i need to change some stuff on the CSS i guess

    For start, i need to remove the inline style of ul sub-menu.

    <ul class=”sub-menu” style=”visibility: hidden;display: none; “>

    But i don’t know where i can remove it.

    Any idea ? i use the “new” child theme



    Would the Genesis Subpages as Secondary Menu plugin help you with this?

    Twitter: cehwitham Web:



    Are you looking for a horizontal submenu, that only displays when hovered over?

    If so, consider this link:

    Specifically, the example given:

    main-navigation li li {
    float: left;
    .main-navigation ul ul {
    width: 900px;

    This works for the “Freelance” theme, and renders on mobile.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.