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 10 months, 3 weeks ago.

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

    veptune
    Participant

    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

    #38285

    cehwitham
    Participant
    Post count: 396

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

    http://wordpress.org/extend/plugins/genesis-subpages-as-secondary-menu/


    Twitter: cehwitham Web: cehwitham.com

    #65245

    Jumpringer
    Participant
    Post count: 29

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

    If so, consider this link:

    http://wordpress.org/support/topic/twentytwelve-horizontal-submenu

    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.