• Hi, on http://www.ginnasticaardorpadova.com I am using Divi theme and I set up the top header secondary menu with those social icons by using the following CSS.

    The problem is that on smartphones, the secondary menu is moved into the mobile menu and that really sucks. The first line should do the trick but even increasing the min-width value I can’t stop it from moving the menu items into the mobile menu.

    You got any hint?

    Thanks a lot!

    @media (min-width: 980px) {

    #top-header .container {
    padding: 0 !important;
    }

    #et-secondary-menu {
    float: none;
    }

    #et-secondary-nav li {
    margin-right: 0;
    }

    #et-secondary-nav li a {
    padding: 0.75em 1em;
    }

    #et-secondary-nav {
    width: 100%;
    text-align: right;
    }

    /* Add the class’left’ to any menu item to float it to the left of the menu */
    #et-secondary-nav li.left {
    float: left;
    }

    /* Add the class ‘facebook’ to any menu item to give it Facebook’s background colour */
    #et-secondary-nav li.facebook {
    background: #3b5998;
    }

    /* Add the class ‘twitter’ to any menu item to give it Twitter’s background colour */
    #et-secondary-nav li.twitter {
    background: #55acee;
    }

    /* Add the class ‘instagram’ to any menu item to give it Instagram’s background colour */
    #et-secondary-nav li.instagram {
    background: #125688;
    }

    /* Add the class ‘cta’ to any menu item to turn it into a Call to Action button */
    #et-secondary-nav li.cta {
    background: #f8994a;
    }

    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here. Your best bet is always your product’s developer, so we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Try http://www.elegantthemes.com/forum/

    Thread Starter MarcoPau

    (@marcopau)

    Ok, thanks a lot!

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

The topic ‘Top header menu bar customization’ is closed to new replies.