Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1277776
    richardrabil
    Participant

    Hi,
    I made several css changes to the header of (scientificsessions.nutrition.org) to make it shorter (less height). But now when it goes into mobile it has lost most of its background color.

    Currently I’m working on 2 site.
    http://scientificsessions.nutrition.org/ <– this is the live site (this does have the changes and has the incorrect mobile drop down menu)

    http://asn-devsite.slice-works.com/ <– this is the dev site (this does not have the changes I made but has the right height of the header.)

    I would like to have both the shorter header and the correct mobile drop down header that matches the asn-devsite applied to scientificsessions.nutrition.org. I will provide credentials in a private note next to this one.

    I hope that’s clear, Basically scientificsessions.nutrition.org has a weird mobile dropdown menu after I made some changes to the header for desktop.

    #1277782
    richardrabil
    Participant
    This reply has been marked as private.
    #1277820
    richardrabil
    Participant

    CORRECTION:

    http://asn-devsite.slice-works.com/ <– this is the dev site (this does not have the changes I made **but has the right dropdown hamburger menu spacing.)

    Sorry about that

    #1277821
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance > Customizer > Custom > CSS

    @media (max-width: 979px) {
    .x-nav-wrap.mobile.collapse {
    
        background: #24366e
    }
    
    .x-navbar .x-nav-wrap .x-nav > li > a {
       
        padding: 20px;
    }
    }

    Hope it helps

    Joao

    #1277960
    richardrabil
    Participant

    Thank you for the speedy response. How could I get rid of that extra blue at the top?

    Everything else looks great Thanks!

    #1277985
    Nico
    Moderator

    Hi There,

    Add this in your Customizer > Custom > CSS:

    .x-navbar .mobile .x-nav{
    margin: 4px 0;
    }

    Let us know how it goes.

    Thanks.

    #1277990
    richardrabil
    Participant

    Perfect! That’s what I needed, thanks for your help!

    #1278032
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1277776 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>