Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #342520

    Hi,

    I’d like to remove the menu bar line, but have it appear when the user scrolls down. Is there some CSS for this?

    #343007

    Hi Pointbreakd!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .header-scrolled nav.main_menu {
    opacity: 1;
    }
    nav.main_menu {
    opacity: 0;
    }

    Best regards,
    Yigit

    #343169

    Thanks, that didn’t work — it removed all the menu bar items (also a good trick to have). I want to remove the separator line until you scroll down.

    Thanks.

    #343176

    Hi!

    Please add following code to Quick CSS as well

    .header-scrolled #header_main {
    border-bottom: solid 1px #e2e2e2;
    }
    #header_main {
    border-bottom: none;
    }

    Regards,
    Yigit

    #343217

    Excellent! One more thing, is there a way to move the logo down just a touch?

    #344129

    Hey!

    Please add following code to Quick CSS as well and adjust as needed

    strong.logo {
    position: relative;
    top: 3px;
    }

    Regards,
    Yigit

    #344297

    Thanks. That works, but now the logo hangs over the bar when it scrolls. Kind of a cool effect, but I probably want it to stay above the line. Any way to fix that?

    Thanks again — great support!
    Dan

    #345151

    Hi!

    Please add this below:

    .header-scrolled strong.logo {
    position: relative;
    top: -1px;
    }

    Regards,
    Ismael

    #704058

    Yigit! I’ve used the code below to hide the menu, but I also want to hide the logo the same way (so it appears in the line w/ the menu only when someone scrolls.) is there some quick CSS for this?

    So, I’ve already added:

    .header-scrolled nav.main_menu {
    opacity: 1;
    }
    nav.main_menu {
    opacity: 0;
    }

    .header-scrolled #header_main {
    border-bottom: solid 1px #e2e2e2;
    }
    #header_main {
    border-bottom: none;
    }

    #704064

    Hey!

    Please change the code to following one

    .header-scrolled nav.main_menu, .header-scrolled .logo img {
    opacity: 1;
    }
    .logo img,nav.main_menu {
    opacity: 0;
    }
    
    .header-scrolled #header_main {
    border-bottom: solid 1px #e2e2e2;
    }
    #header_main {
    border-bottom: none;
    }

    Maybe you would like to display header when scrolled down like this demo site – http://kriesi.at/themes/enfold-one-page-portfolio/? If so, please edit your page and choose that option in “Header visibility and transparency” section.

    Regards,
    Yigit

    #704067

    Hi, yes, I’d like to do what the Enfold one page demo does. Where exactly is “Header visibility and transparency” located? Is this a tab? I don’t see any labeled that.

    Pasting in the code you gave me just gives me a big blank white margin with no logo or menu. So I took it out again as it didn’t work.

    Thanks!

    #704069

    Hi!

    Please edit your page and find it on the right side under Layout section – http://kriesi.at/documentation/enfold/portfolio-item/intro-to-the-header-configurator/

    Best regards,
    Yigit

    #704072

    This worked beautifully. Thank you, Yigit! You can close this convo. Thanks for the recommendation on the one page demo. That’s exactly what I was trying to replicate.

    Jessica

    #704082

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Please consider reviewing Enfold on ThemeForest if you have not already :)

    Regards,
    Yigit

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Remove menu bar line until scroll’ is closed to new replies.