Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1188002

    Hello I need to make some changes in the way the mobile menu is shown. It is very complicated to explain (english is my third language) so I am attaching a link to my website and screenshots of what I need to achieve – I am sure it easier this way! :)

    THANKS!

    #1188293

    any luck with this?

    #1188493

    Hi,

    Please go to Enfold theme options > Main Menu > Burger/Mobile Menu > Menu Overlay Style and choose “Sidebar Flyout Menu (classic)” and then add following code to Quick CSS

    .av-burger-overlay li.menu-item-24 a {
        border-left: 8px solid #F7A713!important;
    }
    .av-burger-overlay li.menu-item-10 a {
        border-left: 8px #2D509F solid;
    }
    .av-burger-overlay li.menu-item-11 a {
        border-left: 8px #F4E600 solid;
    }
    .av-burger-overlay li.menu-item-12 a {
        border-left: 8px #E6341F solid;
    }
    .av-burger-overlay li.menu-item-16 a {
        border-left: 8px #F7A713 solid;
    }
    .av-burger-overlay li.menu-item-13 a {
        border-left: 8px #2D509F solid;
    }
    .av-burger-overlay li.menu-item-14 a {
        border-left: 8px #F4E600 solid;
    }
    .av-burger-overlay li.menu-item-15 a {
        border-left: 8px #E6341F solid;
    }

    Best regards,
    Yigit

    #1188502

    hi thanks for this but unfortunately is not working – you can check in the link down here

    #1188503

    Hi,

    Please create temporary admin logins and post them here privately.

    Regards,
    Yigit

    #1188510

    you can access the staging website I already created for you guys :)

    thanks!

    #1188515

    Hi,

    I moved your code to bottom of Style.css file and added !important rule. Please flush cache and review your website :)

    Best regards,
    Yigit

    #1188518

    thanks it seems better but it still not like what I need to achieve – I am posting a couple of screenshots

    #1188791

    hi any help? thanks!

    #1189194

    Hi,
    Sorry for the late reply and thank you for the login to the staging site, I see you have the same css in your child theme stylesheet and in your Quick CSS, which can make it a little tricky to manage your styles, you may wish to keep your css in one place.
    Anyways I commented out these two lines in both places:

    /*#top #header_main > .container .main_menu ul:first-child > li > a {
        line-height: 155px !important;
    }*/
    /*#top .header-scrolled #header_main > .container .main_menu ul:first-child > li > a {
        line-height: 60px !important;
    }*/

    and now your mobile menu items are a natural size and expand well within the group, please clear your browser cache and check.

    Best regards,
    Mike

    #1189368

    Hi Mike thanks for your reply but I do need that lines, to make other changes that I can’t publish the website without ;)
    that changes were suggested here https://kriesi.at/support/topic/put-a-differente-border-color-on-each-top-menu-item/

    Is there a way to achieve both of the things I am trying to do?

    #1189419

    Hi,
    Thank you for the feedback, so it looks like those two lines of code were for the desktop menu, on mobile they are making the menu items very large. So I have added #avia-menu to the code so it will show for desktop and not for mobile.

    #top #header_main > .container .main_menu ul#avia-menu:first-child > li > a {
        line-height: 155px !important;
    }
    #top .header-scrolled #header_main > .container .main_menu ul#avia-menu:first-child > li > a {
        line-height: 60px !important;
    }

    It is activate now, please clear your browser cache and check.

    Best regards,
    Mike

    #1189692

    Hi Mike, it made some changes in the way it is rendered but it’s still not what I am trying to achieve.
    for example, there is that grey column on the left side, there is no logo on the top and the height of the button is not the right one.
    I am attaching what I see and what I need to achieve.
    Thanks for the help!

    #1189986

    any help? please!

    #1190397

    help!

    #1190804

    Hi,

    Sorry for the delay. You can use this css pattern to change the background color of the sub menu items of a specific parent menu item in the mobile menu. The following css in particular will affect the UBI menu item and its child menus.

    .av-burger-overlay li.menu-item-10 .sub-menu li a {
         background: #2D509F !important;
    }

    We can reuse that pattern to change the other menu items. Noticed the li.menu-item-10 in the selector? 10 is the id of the menu item UBI, so to change the Buddhismo menu item, which has a menu id of 24, just copy or duplicate the css code, replace li.menu-item-10 with li.menu-item-24 and replace the background color accordingly.

    .av-burger-overlay li.menu-item-24 .sub-menu li a {
         background: #F7A713!important;
    }

    You should also add the following css code to change the font color of the child menus to white.

    .av-burger-overlay li .sub-menu li a .avia-menu-text {
       color: #ffffff !important;
    }
    

    Best regards,
    Ismael

    #1190819

    Hi Ismael, the changes you are providing are not making the menu the way I need it, please review the informations I am giving as I need to exactly achieve what I am sending you. (for example the logo in the upper part, the height of the buttons, and stuff like that. thanks

    guys I really appreciate your help but please if you think this is not reachable and there are no options just let me know because I need to put this website online asap…

    #1190884

    Hi,

    Please add following code to Quick CSS field as well

    .html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
        text-transform: uppercase;
        font-size: 20px;
    }
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items {
        border-top: 1px solid #333;
    }
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items:last-child {
        border-bottom: 1px solid #333;
    }
    .html_av-submenu-hidden .av-submenu-indicator,
    .html_av-overlay-side-classic #top .av-burger-overlay li li .avia-bullet {
        display: none;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay li li a {
        padding-left: 50px;
    }
    

    If further customization is required, please consider to hire a freelance developer.

    Best regards,
    Yigit

    #1190907

    Yigit that’s a great step! Thanks! Is it possibile to have the menu cover completely the width of the page? and to put the website logo on top of the menu? thanks again

    #1190914

    Hi,

    Please add following code to Quick CSS as well

    .html_av-overlay-side .av-burger-overlay-scroll {
        width: 100%;
    }
    .av-burger-overlay-inner {
        background-image: url(LINK-OF-YOUR-LOGO-HERE);
        background-repeat: no-repeat;
        background-position: 25px 25px;
    }
    

    Best regards,
    Yigit

    #1190934

    Great Yigit, that could work, thanks! Now I have just two things to fix:
    – how can I have a black line on bottom of the first menu buttons only (the white buttons) so that the other ones (colored) have another color?
    – when I am visiting an interior page of the website I see issues in the menu (maybe because I have changed the way to display selected menu item) – how can I fix it?

    I am sending you a couple of screenshot to explain better

    THANKS!

    #1191038

    Hi,
    To solve the error in the buttons try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    #header_main #av-burger-menu-ul .current-menu-item a {
        border-bottom-width: 0px !important;
    }

    To have gray lines between the menu items except when the burger sub-menus are open, then the border lines should be white, try this css:

    .html_av-overlay-side-classic #top .av-burger-overlay li a {
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-top-style: solid;
        border-top-width: 1px;
    }
    .html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
        border-color: #ddd;
    }
    .html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li.av-show-submenu a {
        border-color: #fff;
    }

    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

    #1195124

    It worked thanks Mike!

    #1195182

    Hi,

    Great, I’m glad that you got things working and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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