Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #293306

    Hi,

    I’ve tried to get this how I need, but falling a little short at the moment. I’m not the best at CSS and learning as I go, and appreciate any help here.

    What I’d like:

    To have the menus on my dev website work like this;
    – No borders in the menu except the top and bottom lines
    – Standard #666666 font colour when not selected or not hovering
    – Only selected menu item with a #0456a3 background and #ffffff font colour
    – Hover over menu item and background should become #0456a3 and font colour #ffffff (hover should cover entire block, not just text)
    – I’d like to specify the same type of style with the sub menus, but currently there is a white background which seems to take precedent

    What I have currently

    – All borders
    – Standard #666666 font colour when not selected or not hovering
    – Only selected menu item with a #0456a3 background but a #666666 font colour
    – Hover over menu text and background becomes #0456a3 and font colour #ffffff

    So I’ve messed up somewhere, I believe the #666666 primary font colour I have in the header settings are overriding any settings I store in the CSS quick styles.

    Heres what I have so have in my quick CSS


    /* Main Menu */

    .current-menu-item{
    background:#0456a3;
    color:#ffffff!important;
    text-transform: uppercase;
    }

    .avia-menu-text{
    text-transform: uppercase;
    color:#666666;
    }

    .avia-menu-text:hover{
    text-transform: uppercase;
    background:#0456a3;
    font-color:#ffffff!important;
    font-size: 15px;
    }

    .bottom_nav_header.social_header .main_menu ul:first-child>li a {
    border: none;
    }

    Once again, appreciate any assistance with getting me on track, let me know if theres any further supporting info required here…

    cheers

    #293538

    Hi uvanlj1!

    Thank you for using the theme.

    Have you tried editing the Main Menu Links on Enfold > Advanced Styling option? Select the Main Menu Links element then edit it. Note that you can add two elements of the same kind. One for the hover state, another for the initial state.

    Cheers!
    Ismael

    #293556

    Nice,

    Obviously this doesn’t cover anything other than font colour, bg colour, size and family, but that’s all I need…

    Is there an option for body within the advanced styling section?

    Thanks again

    #293583

    How would I go about using the advanced styling menu to remove the nav menu borders and change style for current selected menu item?

    Thanks again

    #293802

    Hi!

    There is currently no support for this in the advanced styling menu.

    Please referr to this post:
    https://kriesi.at/support/topic/menu-hover-color-heading-font-size-remove-borders/

    Come back on further questions.

    Regards,
    Günter

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