Tagged: x
-
AuthorPosts
-
April 19, 2016 at 8:31 am #890023
AMBESTENGESTERNParticipantHi, i also want to have the navbar over the slider. I tried some things that i found in the forum but nothing really works. The slider should be full size and the navbar on top (something like this for example: http://www.polder-events.nl/). If the page is scolled down it should be fixed at the top and getting and the background should get dark. But this should only be on the “home” page. Is it possible to have a different logos (white / black) and navigation text color (white / black) for homepage and the other pages?
It would be great if you could help me.
April 19, 2016 at 12:06 pm #890415
ThaiModeratorThanks 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.
April 20, 2016 at 1:34 am #891294
AMBESTENGESTERNParticipantThis reply has been marked as private.April 20, 2016 at 8:37 am #891795
ChristopherModeratorHi there,
Please enable ‘Fixed top’ position from Customize -> Header.
Please add following code in Customize -> Custom -> JavaScript :
jQuery(document).ready(function($){ $('.x-navbar-fixed-top').addClass("transparent-navbar"); $(window).scroll(function(){ if ($(this).scrollTop() > 50) { $('.x-navbar-fixed-top').removeClass("transparent-navbar").addClass("colored"); } else { $('.x-navbar-fixed-top').removeClass("colored").addClass("transparent-navbar"); } }); });Please add following code in Customize -> Custom -> CSS :
.home .x-slider-container.below { margin-top: -125px; } .home .x-navbar-fixed-top.transparent-navbar{ background-color:transparent; } .home .x-navbar-fixed-top.colored{ background-color:red; } .home .x-nav li a{ color:#fff; }To change home page logo add this JS too :
jQuery(".home .x-brand.img img").attr("src","ADD LOGO URL HERE");Hope that helps.
April 26, 2016 at 8:50 am #900374
AMBESTENGESTERNParticipantThank you very much!
That’s what i have searched for, now it looks like it should.My next problem is, that i would like to have the first “section” beeing over the slider. The silder should be in the background. So i have to move the first section up. Is it possible using CSS? I didn’t find anything helpful yet.
Would be great if you could help me.
I’ll send you a screenshot of the layout, like it should look.Cheers
April 26, 2016 at 9:28 am #900436
AMBESTENGESTERNParticipantThis reply has been marked as private.April 26, 2016 at 9:31 am #900441
AMBESTENGESTERNParticipantThis reply has been marked as private.April 27, 2016 at 2:32 am #901582
RupokMemberHi there,
Thanks for updating. You can select the section and set a negative margin by adding margin-top: -400px; to the Style field.
You can also try adding CSS on page level CSS or Customizer > Custom > CSS :
.home #x-section-1 { margin-top: -400px !important; }Let’s adjust the value if needed.
Hope this helps.
Cheers!
April 27, 2016 at 5:45 am #901863
AMBESTENGESTERNParticipantThanks for your quik help. It works really good!
April 27, 2016 at 1:09 pm #902729
ChristopherModeratorYou’re most welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-890023 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
