-
AuthorPosts
-
June 11, 2021 at 5:56 pm #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!
SaschaJune 15, 2021 at 8:41 am #1305737Hey 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,
IsmaelJune 15, 2021 at 11:49 am #1305781This reply has been marked as private.June 16, 2021 at 4:55 pm #1306071Hi,
Thanks however htaccess authentication is not working for me. Could you please check it once again? :)
Best regards,
YigitJune 16, 2021 at 5:20 pm #1306080Hey Yigit,
I’m sorry – not quite sure what happened to that old password since it was plain wrong …
Please try again with this:June 18, 2021 at 4:45 am #1306270Hi,
Thanks for the update. The new details are not working either, please check that they are working before sending them.
Best regards,
RikardJune 18, 2021 at 11:40 am #1306323I’m sorry!
The info below works fine for meJune 20, 2021 at 9:33 pm #1306592Hi,
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,
IsmaelJune 21, 2021 at 9:09 am #1306682Hi 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!
SaschaJune 25, 2021 at 5:33 am #1307377Hi,
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,
IsmaelJune 25, 2021 at 9:20 am #1307415Hi 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” xlink:href=”genericons-neue.svg#hierarchy”></use></svg>
Thanks again!
SaschaJune 28, 2021 at 8:04 am #1307673Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.