Viewing 30 results - 1 through 30 (of 17,614 total)
  • Author
    Search Results
  • #1487409

    ok – if you like to have on default a sidebar header – and on homepage only the header top position.
    ( for that scenario we need than a bit different css too if you like to have slide-out from left to right)

    1 set your enfold child to header top and make all your decisions you like to have for that header ( height, logo left or right, navigation position, shrink or not, etc pp )

    2 Go to your homepage editor and make your decision there – f.e. if it should have transparency etc.

    3 Look now to your homepage with dev tools of your browser. Note your ID of that page and look what classes are set on #header
    e.g.: ( all_colors header_color light_bg_color av_header_top av_logo_right av_main_nav_header av_menu_left av_custom av_header_sticky av_header_shrinking av_header_stretch av_mobile_menu_tablet av_header_searchicon av_header_unstick_top_disabled av_bottom_nav_disabled av_header_border_disabled )

    4 now switch back to your header left position.

    put this to your child-theme functions.php:

    (remove options you do not need – or replace – f.e. header_size and header_custom_size and replace by header_size: ‘slim’ / or large )
    find those header settings in : avia_header.php

    function av_change_header_style($header){
      if(is_page(array( 17, 123456))){ 
        $header['header_position']    = "header_top";
        $header['header_layout']      = 'logo_right main_nav_header menu_left';
    
        $header['header_size']        = 'custom';
        $header['header_custom_size'] =  140;
        $header['header_shrinking']   = 'header_shrinking';
        $header['header_sticky']      = 'header_sticky';
        $header['header_shrinking']   = 'header_shrinking';
    
        $header['header_class'] = " all_colors header_color light_bg_color av_header_top av_logo_right av_main_nav_header av_menu_left av_custom av_header_sticky av_header_shrinking av_header_stretch av_mobile_menu_tablet av_header_searchicon av_header_unstick_top_disabled av_bottom_nav_disabled av_header_border_disabled";
      }
        return $header; 
    }
    add_filter('avf_header_setting_filter','av_change_header_style');

    here in this example there are two pages (ID’s) replaced with that different layout – adjust to your home page ID
    this filter has a lot more options.

    see example page: https://clean.webers-testseite.de/

    #1487262

    Hi,

    Thanks for that. The FTP account still lead no where, but I checked via the file editor instead. this is what’s on line 32 in your child theme:

    avia_nav_menus(); function avia_nav_menus() { global $avia_config, $wp_customize; $avia_config['nav_menus'] = array( 'avia' => array('html' => __('Main Menu', 'avia_framework')), 'avia2' => array( 'html' => __('Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu <a target="_blank" href="'.admin_url('?page=avia#goto_header').'">here</a>)</small>', 'avia_framework'), 'plain'=> __('Secondary Menu - will be displayed if you selected a header layout that supports a submenu', 'avia_framework')), 'avia3' => array( 'html' => __('Footer Menu <br/><small>(no dropdowns)</small>', 'avia_framework'), 'plain'=> __('Footer Menu (no dropdowns)', 'avia_framework')), 'avia_responsive' => array( 'html' => __('Responsive Menu <br /><small>(If set will replace your main menu on mobiles)</small>')) ); add_theme_support('nav_menus'); foreach($avia_config['nav_menus'] as $key => $value) { $name = (!empty($value['plain']) && !empty($wp_customize)) ? $value['plain'] : $value['html']; register_nav_menu($key, THEMENAME.' '.$name); } } add_action( 'ava_after_main_menu', 'enfold_customization_add_responsive_menu' ); function enfold_customization_add_responsive_menu() { echo "<nav style = 'display:none;' class='main_menu_responsive' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia_responsive'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'menu_class' => 'menu av-main-nav', 'container_class' => $avia_menu_class.' av-main-nav-wrap'.$icon_beside, 'fallback_cb' => false, 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>'; }

    What exactly is the purpose of that?

    Best regards,
    Rikard

    #1486999
    jdonelan
    Participant

    Tried all of the usual fixes: disabled AMP, updated plugins and theme, checked the settings for mobile menus, etc.

    #1486782

    Hey Michael Canger,

    Thank you for the inquiry.

    The mobile menu seems to be displaying correctly on our end. Did you manage to resolve this? Please check the screenshot below.

    View post on imgur.com

    If the issue persists, please provide a screenshot using platforms like Savvyify, Imgur or Dropbox.

    Best regards,
    Ismael

    #1486775
    Michael Canger
    Guest

    Mobile menu on website will not customize when i am using the advanced styling settings. The Burger menu shows up white and only will show up the font when you hover over it.

    #1486745

    In reply to: Plugin Amelia

    Thank you. I need a dropdown menu for mobile.

    #1486614
    Skytaya2727
    Participant

    Hi,

    Suddenly can’t find my facebook and instagram icon in mobile screen?
    For desktop view, it appears at the top of right corner. (next to menu)
    However, for mobile, I can’t find it.
    Would you help me to show them again?

    #1486564

    In reply to: Header Button

    Hey cnpetr,

    Thank you for the inquiry.

    Unfortunately, it’s not possible to move the widget inside the burger menu. You may need to create a dedicated menu item for the “Request a Consultation” button in the main menu, hide it on desktop, and display it only on mobile view using css.

    Best regards,
    Ismael

    #1486537

    Topic: Header Button

    in forum Enfold
    cnpetr
    Participant

    Hi! I was able to follow instructions on adding a widget area to the header so that I could display a button on the right. So I have Logo (left), menu (centered) and button (right). I like the look on desktop but would like it to adjust in mobile so that the button goes within the hamburger menu dropdown. Is this possible?

    GWS
    Participant

    Hi,
    We’ve added a Donate widget button to the header of a website and it looks fine on desktop, but on mobile it is positioned in the center above the logo and mobile menu burger. We’d like the logo to be at the top on mobile and larger than it is now. Then below that, the donate button below it and then the burger menu. Can you please provide guidance on how to make this happen?

    Also, is it possible to display the social media icons in the header of the mobile version?

    #1486324
    CreativeProject2013
    Participant

    I need to update Endold on the site http://www.esina.it
    I bought the latest version of the theme
    when I install it and replace it with the previous one, the slide disappears, the order of the shop changes, the mobile version menu does not work and the “Services” disappear on the home page.
    I absolutely have to restore it otherwise the e-commerce sales will be blocked. Please help me.

    #1486307

    In reply to: Logo as SVG

    this is the whole css for transparency fixed header on small screens ( if header_meta is present some height values had to be corrected ) from my testpage above:

    @media only screen and (max-width:989px) {
      .responsive #top #wrap_all #header .container {
        width:95%;
        max-width:95%
      }
      #header {
        position:fixed !important;
        height:80px !important;
        max-height:80px !important
      }
      .responsive #top .av-logo-container ,
      .responsive #top .logo a,
      .responsive #top .logo img,
      .responsive #top .logo svg {
        height:80px !important;
        max-height:80px !important;
        line-height:80px !important
      }
      .responsive #top .av-main-nav .menu-item-avia-special a {
        height:80px !important;
        line-height:80px !important
      }
      #top .header_bg,
      .responsive.html_mobile_menu_tablet #top #wrap_all .av_header_transparency {
        background-color:transparent !important
      }
      .responsive.html_mobile_menu_tablet #top #wrap_all #header:not(.av_header_transparency) {
        background-color:#FFF !important
      }
      #top #header.header-scrolled .header_bg {
        background-color:#FFF !important
      }
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate,
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub {
        display:block !important
      }
      .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > img,
      .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
        opacity:0
      }
      html:not(.html_header_transparency) #top .header_bg {
        background-color:#FFF !important
      }
      .responsive:not(.html_header_transparency).html_mobile_menu_tablet.html_header_top #top #main {
        padding-top:80px !important
      }
    }
    #1486306

    In reply to: Logo as SVG

    try:

    @media only screen and (max-width:989px) {
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate,
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub {
        display:block !important
      }
      .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > img,
      .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
        opacity:0
      }
    }

    _______________

    in layout.css there is that rule – this has to be overwritten – if you set your header to fixed position:

    
    @media only screen and (max-width: 989px) {
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub, 
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate {
        display: none;
      }
    }
    @media only screen and (max-width: 767px) {
      .responsive #top .av_header_transparency .logo .subtext.avia-svg-logo-sub, 
      .responsive #top .av_header_transparency .logo img.alternate {
        display: none;
      }
    }
    
    #1486279

    In reply to: Logo as SVG

    Thank you for giving it a try. Very interesting. In my installations there is the following CSS:

    @media only screen and (max-width: 989px) {
      .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > img, .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
        opacity: 1;
      }
    }
    @media only screen and (max-width: 989px) {
      .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate, .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub {
        display: none;
      }
    }

    Don’t know where it comes from. The first shows the normal logo, the second hides the alternate version below 990px. That’s exactly the error.

    In your installation it is like that:

    #top .av_header_transparency.av_alternate_logo_active .logo a > img, #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
      opacity: 0;
    }
    
    .av_header_transparency .logo img.alternate, .av_header_transparency .logo .subtext.avia-svg-logo-sub svg {
      opacity: 1;
    }

    No query whatsoever. But the CSS above is not from me. It has to be from Enfold.

    Your test is: Logo in backend, alternate logo in backend, code from above in functions, page set to “transparent header” – correct?

    #1486212

    Topic: Nav obscuring logo

    in forum Enfold
    mikejuly
    Participant

    Hello and thanks for checking out my post.

    For context, this is what I am dealing with: https://moxiemeninc.com/emerald-nav.pdf

    I’ve made adjustments to the CSS but all it does is make the nav completely disappear. I need the hamburger to show up around the 1320 px mark. Here is the code I used:

    @media only screen and (max-width: 1320px) {
    #avia-menu {
    display: none !important;
    }

    .av-burger-menu-main {
    display: block !important;
    }
    }

    I also tried this:

    @media only screen and (max-width: 1350px) {
    /* SHOW the burger toggle */
    .av-burger-menu-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    }

    /* HIDE the desktop menu */
    .av-main-nav-wrap,
    #avia-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    }

    /* ENSURE the mobile menu container shows when open */
    #mobile-advanced {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    }
    }

    I also tried updating the pho file with the following code:

    add_filter( ‘avf_responsive_size’, ‘set_custom_menu_breakpoint’ );
    function set_custom_menu_breakpoint( $width ) {
    return 1320; // no quotes, no ‘px’
    }

    But I’ve had no success. Thanks in advance for any advice you can dispense.

    #1486081

    Hi,
    When I login to your site I can not change the user profile language to Eng, nonetheless I don’t see a menu: TKA Menu mobile that you wanted to be the mobile menu:
    Screen Shot 2025 06 28 at 12.20.05 PM
    you would need to create this menu and choose it at Enfold Theme Options ▸ Main Menu ▸ General ▸ Alternate Menu For Mobile as you see here you are using the same main menu for mobile:
    Screen Shot 2025 06 28 at 12.18.42 PM
    Perhaps there is a language issue, if so please change the user language to Eng so I can check again. But I would think that since I see TKA Main Menu I would see a TKA Menu mobile for the mobile menu.

    Best regards,
    Mike

    #1486078

    Hi,
    Thank you for sharing your solution, but when I test our demo there are no IDs added to the mobile menu items, unless you mean a menu link with an ID to an anchor on the page. I tested in WAVE and found no errors for IDs.
    If you mean the link IDs to anchors on the page, note that the mobile menu is not created until the menu is clicked, nonetheless since most people use the same link IDs on their page for mobile and desktop, this would break their links.
    Since I can not reproduce your issue and this is beyond what we can do here, you are welcome to open a Github Feature Request to place a request and follow it as the Dev Team reviews it.

    Best regards,
    Mike

    #1486027

    Hello, Yes I have desactivated the mega menu and still have the same problem. I cannot set a different menu for desktop and mobile. This is really driving me crazy, we’re considering abandoning this theme because of this major issue. From what I see on the Internet, it seems super easy and we’ve been trying to work this out for months now! I’m getting tired of this issue. Can you help please? Thx Alexandra

    #1485962

    Topic: Logo as SVG

    in forum Enfold
    #1485950
    jugalbandi3
    Participant

    Hi,

    We observed duplicate id-attributes in the mobile menu (hamburger-menu), similar to what is described in

    This came up when trying to check and optimize website-compatiblity for screenreaders. Nodes of the main menu are copied over to the hamburger-menu. svg-icons (for the search) contain id-attributes which simply get duplicated – but obviously need to be transformed to become unique again.

    A modification of this copy-behaviour would for example be possible in
    wp-content/themes/enfold/js/avia-snippet-hamburger-menu.js
    in function normalize_layout().

    Quick-and-dirty code for those replacements:
    There was:
    var menu2 = $(‘#header .main_menu’).clone(true),
    ul = menu2.find(‘ul.av-main-nav’),
    id = ul.attr(‘id’);

    We then added lines to search for the corresponding nodes in the HTML with jQuery and make replacements for all hits. ‘-hamburger’ is appended to the IDs.

    var toChange;
    toChange = menu2.find(‘[id^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[id^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘id’, $(this).attr(‘id’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-labelledby^=av-svg-title-‘);
    toChange.each(function() {
    $(this).attr(‘aria-labelledby’, $(this).attr(‘aria-labelledby’) + ‘-hamburger’);
    });
    toChange = menu2.find(‘[aria-describedby^=av-svg-desc-‘);
    toChange.each(function() {
    $(this).attr(‘aria-describedby’, $(this).attr(‘aria-describedby’) + ‘-hamburger’);
    });

    It’s quite an edge case, but could potentially irritate a screen reader.

    #1485914
    AIMEnfold
    Participant

    Hi! I am having issues of the mobile menu not appearing at all. The hamburger menu is there, but when you click on it, the grey slide out happens, but it is blank. The URL is:

    https://aimreservices.com/

    Please let me know what I can do to fix this. I have tried other options mentioned in numerous threads – changing the mobile settings, clearing cache ( which is now off), updating jQuery, etc, but nothing seems to work.
    Thanks!
    Todd

    #1485842
    jonroot
    Participant

    Hi guys
    Love the theme – have bought it 10+ times now. I’m having an issue I haven’t encountered before. WooCommerce is activated and the shopping cart is overlapping the Burger Menu. See attached screenshot. Any suggestions?
    Thanks,
    Jon
    burger menu + cart out of place

    #1485825

    In reply to: Burger Menu

    Hi,

    Thank you for the inquiry.

    Unfortunately, the burger or mobile menu doesn’t have that option out of the box. For more options and advanced menu layouts, you may need to install a mega menu plugin such as UberMenu, Max Mega Menu, WP Mega Menu, or QuadMenu. You can also contact Codeable if you need extensive customization for the burger menu. Please check the link below.

    https://kriesi.at/contact/customization

    Best regards,
    Ismael

    #1485623

    Hey!

    Thank you for the inquiry.

    Did you add this css code?

    @media only screen and (max-width: 767px) {
        #top .header_color .av-hamburger-inner,#top .header_color .av-hamburger-inner::before,#top .header_color .av-hamburger-inner::after {
            background-color: var(--enfold-header_burger_color);
        }
    }
    

    This sets the color of the hamburger menu icon to white. You can replace it with:

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      #top .header_color .av-hamburger-inner,
      #top .header_color .av-hamburger-inner::before,
      #top .header_color .av-hamburger-inner::after {
        background-color: var(--enfold-main-color-color);
      }
    }
    

    Regards,
    Ismael

    #1485622
    limedrop
    Participant

    I have tried to figure out, – the hamburger menu is white, therefore not visible on mobile….
    Can you help me?

    #1485536

    I’ve created an image without the code added and one with the code added. The one with shows the menu text is a bit smaller: https://img.savvyify.com/image/With-the-mobile-code-added.y87yl
    https://img.savvyify.com/image/Without-the-mobile-code-added.y8Gd1

    How can I check the Accessibility Tools plugin settings?

    Thanks!

    #1485357

    Hey Diana,

    Thank you for the inquiry.

    Looks like you have already added the aria-label attribute to the search icon link. Is this still an issue?

    < li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special" role="menuitem"><a class="avia-svg-icon avia-font-svg_entypo-fontello" <strong>aria-label="Suche"</strong> href="?s=" rel="nofollow" >
    

    Best regards,
    Ismael

    #1485008

    so it should be possible to have a burger menu on placing f.e. a code-block element with html code:

    <nav class="datenschutz-menu" role="navigation">
      <div class="container av-menu-mobile-active">
        <a href="#" class="mobile_menu_toggle no-scroll" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello">
          <span class="av-current-placeholder">Datenschutz</span>
          <span class="subnav-hamburger subnav-hamburger--spin-r">
            <span class="subnav-hamburger-box">
              <span class="subnav-hamburger-inner"></span>
            </span>
          </span>
        </a>
        [menu name="datenschutz"] 
      </div>
    </nav>

    and then influencing it by:

    function subnav_hamburger_first(){
    ?>
    <script>
    (function($){
        var $subham = $(".mobile_menu_toggle");
        $subham.on("click", function(a) {
    		$subham.find(".subnav-hamburger").toggleClass("is-active");
    		$subham.next(".menu-datenschutz-container").find('#menu-datenschutz').toggleClass("av-open-submenu");
        });
    	$('#menu-datenschutz li').on("click", function(b) {
    		$(this).addClass('selected').siblings().removeClass('selected');
    		$(this).parents('#menu-datenschutz').toggleClass('av-open-submenu');
    		$(this).parents('.av-menu-mobile-active').find('.subnav-hamburger').toggleClass('is-active');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'subnav_hamburger_first');


    and a lot of css then

    see on https://webers-web.info/hamburger/

    PS: sorry i had to reinstall the whole website – so Privacy page is still not that way discussed above – i will change that today.

    #1485004

    see here on very small screens: https://webers-web.info/datenschutz/
    that sidebar menu on the left goes to a hamburger on top right on small screen width.

    you see on the link above (https://jonsuh.com/hamburgers/) – and (on enfold main burger DOM ) what are the class names – i used them too – because then a predefined look is allready present.:
    and the script to manage the burger is allready loaded

    (page-id-3 – is my privacy page)

    add_action('ava_after_main_menu', function() {
    	if ( is_page(3)){
    		echo '<nav class="datenschutz-menu" role="navigation">';
    		echo '<div class="container av-menu-mobile-active">';
    		echo '<a href="#" class="mobile_menu_toggle no-scroll" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"><span class="av-current-placeholder">Datenschutz</span>';
    		echo '<span class="subnav-hamburger subnav-hamburger--spin-r"><span class="subnav-hamburger-box"><span class="subnav-hamburger-inner"></span></span></span>';
    		echo '</a>';
    		echo do_shortcode('[menu name="datenschutz"]');	
    	 	echo '</div>';
    		echo '</nav>';
    	}
    });

    on that line: echo do_shortcode('[menu name="datenschutz"]'); you see the usage of that menu shortcode

    now i got that extra subnav-hamburger (this name is set by me – it only reminds me that this is subnavigation on privacy page )
    now i have to have the same behaviour on that second burger menu:

    function subnav_hamburger_first(){
    if(is_page(array( 3))){ 
    ?>
    <script>
    (function($){
        var $subham = $(".mobile_menu_toggle");
        $subham.on("click", function(a) {
    		$subham.find(".subnav-hamburger").toggleClass("is-active");
    		$subham.next(".menu-datenschutz-container").find('#menu-datenschutz').toggleClass("av-open-submenu");
        });
    	$('#menu-datenschutz li').on("click", function(b) {
    		$(this).addClass('selected').siblings().removeClass('selected');
    		$(this).parents('#menu-datenschutz').toggleClass('av-open-submenu');
    		$(this).parents('.av-menu-mobile-active').find('.subnav-hamburger').toggleClass('is-active');
    	});
    })(jQuery);
    </script>
    <?php
    }}
    add_action('wp_footer', 'subnav_hamburger_first');

    This is not a trivial request, which is why there are several paid plugins available. To grasp the complexity of a multilevel burger menu, take a look at the avia-snippet-hamburger-menu.js code.

    #1484965

    thanks, I done but it look bad
    ah, i want change below
    👉 Replace the “-” in the mobile submenu with a “.”
    Best Regard

Viewing 30 results - 1 through 30 (of 17,614 total)