Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1305314

    Hi there,
    I searched the forum but could not find any requests/solutions for this…
    am using the sub menu element with a toggle switch on mobile and would like to style that a little since it looks a bit weird at the moment.

    1) I get these arrows/bullets in every item-row that I would like to delete.
    2) Don’t need the dividing lines either
    3) Could I use a custom icon for the toggle switch (“generic-hierarchy” out of the “Genericon” font family)
    4) How to change the name from the generic “Menu” to something else?

    Thanks in advance for some advice on this!
    Sascha

    #1305737

    Hey jhieronimus,

    Thank you for the inquiry.

    The site is asking for another authentication, probably the htaccess. Please include the htaccess authentication in the private field so that we can login and check the site.

    You can adjust the style of the burger menu in the Enfold > Main Menu > Burger/Mobile Menu panel. Set the Menu Overlay Style to minimal or the third option if you want to remove the lines.

    Best regards,
    Ismael

    #1305781
    This reply has been marked as private.
    #1306071

    Hi,

    Thanks however htaccess authentication is not working for me. Could you please check it once again? :)

    Best regards,
    Yigit

    #1306080

    Hey Yigit,
    I’m sorry – not quite sure what happened to that old password since it was plain wrong …
    Please try again with this:

    #1306270

    Hi,

    Thanks for the update. The new details are not working either, please check that they are working before sending them.

    Best regards,
    Rikard

    #1306323

    I’m sorry!
    The info below works fine for me

    #1306592

    Hi,

    Thank you for the update.

    1.) We added the following css code to remove the menu indicator or the arrows.

    .mega-indicator {
    	display: none !important;
    }

    2.) And this one to remove the lines in the mobile menu.

    .av_minimal_header .main_menu #mega-menu-wrap-avia #mega-menu-avia li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item a {
    	border: 0;
    }
    

    3.) This is not possible out of the box but you should be able to use css to change the style of the mobile menu icon. Example:

    #mega-menu-wrap-avia .mega-menu-toggle .mega-toggle-block-3 .mega-toggle-animated-box::before {
    	content: "\f411" !important;
    	font-size: 30px;
    	top: -20px;
    	position: relative;
    }
    
    .mega-toggle-animated-inner {
    	display: none !important;
    }
    

    Best regards,
    Ismael

    #1306682

    Hi Ismael,
    The code you supplied only affects the styling of my Mega-Menu main navigation but left the element untouched that I am trying to style.
    I am fine with the styling of my main navigation (MegaMenu plugin) and don’t want to change anything there.

    What I am trying to change is the styling on mobile devices for the Enfold-submenu element (I don’t know the English name for it it – it’s called “Untermenü volle Breite” in German…).

    Thanks again!
    Sascha

    #1307377

    Hi,

    Thank you for following up.

    We cannot find any full width sub menu in the page. Where did you add it? And please post a screenshot of the changes that you would like to do for the sub menu.

    Best regards,
    Ismael

    #1307415

    Hi Ismael,
    the full width sub menu element can be found in the mobile (phone) viewports on the page “Qualität”:

    https://dk-dev.agnosco.net/qualitaet/

    The icon I would like to use is this one:

    <svg class=”genericons-neue genericons-neue-hierarchy” width=”16px” height=”16px”><use xmlns:xlink=”http://www.w3.org/1999/xlink&#8221; xlink:href=”genericons-neue.svg#hierarchy”></use></svg>

    Thanks again!
    Sascha

    #1307673

    Hi,

    Thank you for the info.

    To remove the borders and arrows, you can use this css code.

    .responsive #top .av-menu-mobile-active .av-subnav-menu  li {
        border: none;
    }
    
    .responsive #top .av-subnav-menu .avia-bullet {
        display: none;
    }

    However, in order to change the icon, you may need to modify the enfold/config-templatebuilder/avia-shortcodes/menu/menu.php file and add the svg element around line 624.

    $mobile_button = $mobile == 'active' ? "<a href='#' class='mobile_menu_toggle' " . av_icon_string( 'mobile_menu' ) . "><span class='av-current-placeholder'>" . __( 'Menu', 'avia_framework' ) . '</span></a>' : '';
    			if( ! empty( $mobile_button ) && ! empty( $mobile_submenu ) && $mobile_submenu != 'disabled' )
    			{
    				$submenu_hidden = 'av-submenu-hidden';
    			}
    

    You can change it via css but you have to register the genericons package or font files.

    // https://wpsites.net/web-design/installing-genericons/

    Best regards,
    Ismael

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