Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alexejram

    (@alexejram)

    Thanks a lot!

    Is the also a way to remove the double trigger button on the mobile menue the CSS way? At the moment I have to klick the “burger lines” and then they will open up the trigger for the mega menue.

    With my hardcoding I managed to replace the menue but just like the story with the chimney the theme update won the battle 😉 Mega menue support docutmentation suggests to add the following CSS to solve the double button issue

    /** Hide mobile items **/
    .mega-menu-header-menu #mobile-current-item,
    .mega-menu-header-menu #mobile-nav-button {
    display: none !important;
    }

    /** Remove left and right padding on mobile menu **/
    .mega-menu-header-menu #main-menu {
    padding: 0;
    }

    Tried several versions of that – it just does nothing 🙁 Do you have any idea? Thanks a lot!

    Thread Starter alexejram

    (@alexejram)

    Thanks – just noticed that the theme update made my whole work disapear in 1 sec 🙁 I modified the code part for the “chimney” and also removed the original menu toggle button to prevent having 2 buttons for the mobile menue. Well … i should learn that my old hardcoding style should land in the bin.

    I allready tried several CSS snippets suggested in several forums … without success. I would be very gratefull if You have the right CSS for me to solve this problem. Thanks a lot!

    Thread Starter alexejram

    (@alexejram)

    Nvm … guess found it

    in functions.php

    function newsup_add_home_link($items, $args){
    if( $args->theme_location == 'primary' ){
    $item = '<li class="active home"><a class="homebtn" href="'. esc_url( home_url() ) .'">' . "<span class='fa-solid fa-house-chimney'></span>" . '</a></li>';
    $items = $item . $items;
    }
    return $items;
    }

    just deleted the

    <span class='fa-solid fa-house-chimney'></span>

    For the moment it works. Please tell me if i did something teribbly wrong. I am not a pro, more like a “try-and-error-programmer” for about 20 years … so there is a good chance that my way is just wrong. Thx!

Viewing 3 replies - 1 through 3 (of 3 total)