Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1148590
    Eric
    Participant

    Hi Guys,

    I cannot get the nav bar transparent on this site. I have done this on a couple of other projects, but something is weird about this one.

    I’m using this css:
    .x-navbar {
    background: transparent !important;
    transition: 0.2s all linear;
    }

    You guys have any ideas?

    #1148591
    Eric
    Participant
    This reply has been marked as private.
    #1148699
    Joao
    Moderator

    Hi There,

    It is transparent.

    Your background is white,

    You can test it by adding the following code to Appereance Customizer Custom CSS, this will pull your slider under the navbar.

    .home .x-slider-container {
         margin-top: -150px;
    }

    Let us know if you need further help,

    Joao

    #1148711
    Eric
    Participant

    Perfect that worked. Thanks!

    #1148735
    Eric
    Participant

    What would I use on the interior pages?

    Thanks!

    #1148755
    Eric
    Participant

    Nevermind. Got it!

    #1148789
    Joao
    Moderator

    Hi Eric,

    Thanks for letting us know,

    Have a great weekend!

    Joao

    #1149642
    Eric
    Participant

    Thanks – I have one last question. The mobile menu when click seems to push the slider down, creates a white background and you can’t see half the menu items. I have this exact setup on my site, but it doesn’t push the slider down. Can you take a look at this?

    #1149643
    Eric
    Participant
    This reply has been marked as private.
    #1149767
    Lely
    Moderator

    Hello Eric,

    That is because this site https://simplelogicdigital.com/ menu is set to be FIXED TOP. When menu is set to be static, the content below will adjust move below it as you open and closed the navbar menu. It just appears a little behind because of this custom CSS:

    .home .x-slider-container {
         margin-top: -150px;
    }

    You might try also adding this if you still want your slider behind the menu on mobile:

    @media (max-width: 979px){
    .home .x-slider-container {
        margin-top: -558px;
    }
    }

    Hope this helps.

    #1150448
    Eric
    Participant

    Thanks for getting back to me. It kind of helped. I made the header fixed like my SimpleLogic site with a transparent header as you scroll down the site. But on mobile the slide stays put until it gets to certain size, then drops down still.

    What else can I do?

    Thanks for your support!!

    #1150467
    Christian
    Moderator

    Hey Eric,

    Can you give us a screen recording so we could better see the issue?

    Thanks.

    #1150491
    Eric
    Participant

    I got it figured out. I just copied and pasted the CSS from the SimpleLogic site and it worked. I think there was some extra CSS in there that wasn’t necessary conflicting with what the site do could automatically.

    Thanks again!

    #1150498
    Thai
    Moderator

    Glad you’ve sorted it out.

    If you need anything else, please let us know 🙂

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