Tagged: 

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #393768

    Hi Lads!
    I want to indicate the page the user has chosen by making the MENU link look like a colored TAB like this:
    CSS of menu tab
    So the current page should show the MENU link like picture (maybe not green :-) ) but just to show you the idea
    Also if the user is on a SUBPAGE – Then the TOP menu should still be COLOR-TAB
    I hope this explains it alright?

    #394155

    Hi Netzie!

    Do you have a link for the page in question?

    Regards,
    Rikard

    #394760

    Hi Rikard
    Check this site http://mitkorekort.dk/

    #394772

    Hi!

    It’s possible but there will be some funkiness if you keep the header shrinking activated (i’d suggest disabling it), add this to Quick CSS:

    .avia-menu-fx{
        display: none;
    }
    .av-main-nav > li > a {
        line-height: 182px !important;
    
    }
    .av-main-nav li.current-menu-item .avia-menu-text {
        padding: 5px 10px;
        background: #97c000;
        border-radius: 2px 2px 0 0;
        color: white;
    }

    This will solve the shrinking issue partially:

    .header-scrolled .av-main-nav > li > a {
        line-height: 52.5px !important;
    }

    Cheers!
    Josue

    #394875

    Hi
    Thanks
    I change the color to red – But nothing shows up? No change?
    Cheers

    Peter

    #394880

    Hey Peter!

    I’m not seeing the code added to the Quick CSS (dynamic stylesheet).

    Regards,
    Josue

    #395164

    Funny… weird… But it is in there? Maybe that’s why it don’t show??
    But I insure you … I copied it in :)
    And … It’s the only thing in there

    #395296

    Definitely not there, try putting the code in child theme style.css instead.

    Cheers!
    Josue

    #395752

    Hi Josue,
    I added it in to the child css … Now it shows up :) Thx (Tried to disable all plugins (except Ithemes security). ?? No change?

    However… (See pic)
    A: is ok – Top level menu is colored blue (Current)
    B: is not ok (Looks wiered – Can you show me how to set them “normal” – No blue)
    More menu

    C: Is a new thing – This is menu item set as “Colored Button” (via the menu settings) – Where do I change the color and ONLY on “C” – No other menu buttons?

    Have a nice weekend

    Peter

    #395761

    Hi!

    Make sure the selectors have the greater signs (it indicates direct descendance) placed correctly, to change the colored button color:

    #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
        background: red;
    }

    Regards,
    Josue

    #395905

    Hi!
    Ehhh what selectors? I added the code you made? including the ‘>’ Greater signs? Do I need anything else?
    I checked and what I added was exactly as you gave me
    The ButtonColor works like a champ!! THX!!

    #396006

    I missed that here, change:

    .av-main-nav li.current-menu-item .avia-menu-text {
        padding: 5px 10px;
        background: #97c000;
        border-radius: 2px 2px 0 0;
        color: white;
    }
    

    To:

    .av-main-nav > li.current-menu-item > a > .avia-menu-text {
        background: none repeat scroll 0 0 #535063;
        border-radius: 2px 2px 0 0;
        color: white;
        padding: 12px 13px 6px;
    }

    Cheers!
    Josue

    #396019

    Alright… Nice… But the submenu is still colored?
    I am sorry for dragging you around this… so many times. But all I wanted was to color the top current menu
    Not have the color show up on submenus like “B” in the picture above

    Cheers!

    Peter

    #396026

    Remove this from Quick CSS:

    .av-main-nav li.current-menu-item .avia-menu-text {
        background: none repeat scroll 0 0 #535063;
        border-radius: 2px 2px 0 0;
        color: white;
        padding: 12px 13px 6px;
    }
    

    Best regards,
    Josue

    #396082

    Ok… I cleaned the Quick CSS and only using the Child CSS
    Here are the total:
    /* Make menu TABS colored current page link */
    .avia-menu-fx {
    display: none;
    }
    .av-main-nav > li > a {
    line-height: 182px !important;
    }

    .header-scrolled .av-main-nav > li > a {
    line-height: 52.5px !important;
    }

    /* Changing the colored button of top menu */
    #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
    background: red;
    }

    It still show submenu colored!
    Can you edit for me? Thx
    Cheers!

    Peter

    • This reply was modified 9 years, 9 months ago by Netzie.
    #396086

    The dynamic stylesheet (Quick CSS) still has residual code (look at the bottom):
    http://mitkorekort.dk/wp-content/uploads/dynamic_avia/enfold_child.css

    Try removing it via FTP and generating it again from the Theme Options.

    Regards,
    Josue

    #396158

    Hi Josue
    Super cool… You can see stuff!!? Wow
    That helped – It works! No more residue – THX!

    #396213

    You are welcome, glad to help :)

    Regards,
    Josue

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