Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1037747

    Hey Enfold,

    I am trying to add some CSS so only the current sub page is underlined instead of everything being underlined. I have some CSS so the current page get’s a bottom border but it’s being applied to the parent and all of it’s sub-menu-items.

    Is there a better version of CSS that makes it so maybe the top header and the sub-menu-item only gets the underline?

    #1037855

    Hey Andrea,

    What css are you currently running? Can you paste it here?

    Best regards,
    Jordan Shannon

    #1038116

    This is what I’ve got to make it so the menu icons are underlined with dashes and then a solid line on hover and active state:

    .html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child>li>a, span.avia-menu-text {
    text-decoration: none;
    border-bottom: 1px dashed #CF7E41;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    transition: .5s ease-out;
    background-image: none!important;
    }

    .html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child>li:hover>a, span.avia-menu-text:hover {
    border-bottom: 1px solid;
    text-decoration: none;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    transition: .5s ease-out;
    background-image: none!important;
    }

    #top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a, #top #header .av-main-nav>li a, span.avia-menu-text, span.avia-menu-text:hover {
    border-bottom-width: 2px;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    transition: .5s ease-out;
    }

    .menu-item-mega-parent.current-menu-item a>span.avia-menu-text {
    border-bottom: 2px solid!important;
    }

    #1038685

    Hi,

    So you want a solid line on parent and sub-menu? So for example “About” and “Our Story” would have a solid black underline at the same time?

    Best regards,
    Jordan Shannon

    #1038709

    Yes, when you are at https://dev15.curlyhost.com/product/straight-corn-whisky/ I want the Spirits to have a solid underline and Straight Corn Whiskey to have a solid underline but NOT all of the other ones under Spirits unless they get hovered on. Does that make sense?

    #1038719

    Hi,

    Try adding this to quick css:

    .sub-menu .current-menu-item a{
    border-bottom: 1px solid!important;
    }

    Best regards,
    Jordan Shannon

    #1038742

    Just implemented and commented out:

    /*.menu-item-mega-parent.current-menu-item a>span.avia-menu-text {
    border-bottom: 2px solid!important;
    }
    */

    How do I also get the parent to hover along with the sub item?

    #1039049

    Hi CurlyHost,

    You will need to use JavaScript for the later.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.