Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #907181
    BradleyB
    Participant

    Hi,

    I have two issues that I have not been able to resolve:

    1) My nav-button will not expand on desktop when the window is sized between 1000 and 798. Any idea how to fix this?

    2) I have some custom css which makes the sub-menu background black. I want the sub-menu’s background to be #4688d7 below 798. I have tried the following code, but it doesn’t work:

    @media (max-width:798px) {
    body .sub-menu > li > a {
    background-color: #4688d7;
    }    
    }

    Any help would be greatly appreciated. You guys have been so awesome! Thanks so much!

    #907661
    Joao
    Moderator

    Hi Bradley,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Also please provide your WP-Admin Credentials and do not forget to mark the reply as private.

    Thanks,

    Joao

    #907827
    BradleyB
    Participant
    This reply has been marked as private.
    #907958
    Christian
    Moderator

    Hey Bradley,

    Looks like you placed your Google Analytics code in your content which caused an error so all features that are powered by Javascript won’t work (see attachment). Please remove your GA code or transfer it to the Google Analytics extension. See https://community.theme.co/kb/extension-google-analytics/

    Thanks.

    #908026
    BradleyB
    Participant

    Thanks so much! One question. I added the GA code a long time ago and don’t remember where I placed it. What file is it in? Can I just erase it? Thanks again!

    #908410
    Rue Nel
    Moderator

    Hello There,

    The GA code was added in your site by a 3rd party plugin MonsterInsights which you have installed. If you want to remove the GA code, you can just go to Insights > Settings and remove the UA code or even deactivate the plugin.

    Hope this helps. Please let us know how it goes.

    #909689
    BradleyB
    Participant

    Thank you!

    I removed the GA plugin and added the code through the extension. However, I am still having trouble with the sub menu background color below 798. Any ideas? Thanks again!!

    #910156
    Nabeel A
    Moderator

    Hi again,

    You can use this code for sub menu background color:

    @media screen and (max-width: 736px) {
    .x-navbar .sub-menu {
        background: rgb(142, 167, 197) !important;
        padding: 0 0 0 15px !important;
    }
    }

    Hope this helps!

    #911096
    BradleyB
    Participant

    Thank you so much!

    #911597
    Jade
    Moderator

    You’re most welcome Bradley.

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