Tagged: x
-
AuthorPosts
-
January 12, 2017 at 8:18 am #1327204
Christian_WParticipantHello,
my website domain is http://www.peru-video.de. I’m using WordPress 4.7 and the latest version of the x theme.
I have a question about the configuration of the menue. How is it possible that the menue shrinks when the user scrolls down and how can I display my logo above the main menue like on this website: http://www.harscher.de/start/Another question. How can I remove the +-Button in the right corner of my website? I have adjusted you an secreenshot.
Thanks a lot for your help.
Best regards
Christian
January 12, 2017 at 10:14 am #1327355
RupokMemberHi Christian,
Thanks for writing in! It’s possible with some custom code. You can follow this thread – https://community.theme.co/forums/topic/shrink-sticky-header-logo-upon-scrolling/
And you need to set “Stacked Navbar” instead of Inline from Customzie > Header to get the logo like the mentioned site. Let’s do that and update us if you still need help.
Cheers!
January 16, 2017 at 2:24 am #1331643
Christian_WParticipantHello,
I’ve tried to add this code, but it didn’t work. I hope you can help me.
.x-navbar-fixed-top .x-brand img {
max-width: 110px;
width: 110px;
}
.x-navbar-fixed-top .desktop .x-nav > li > a {
height: 35px;
padding-top: 40px;
}
.x-navbar-fixed-top .x-navbar-inner {
min-height: 95px;
}Best regards.
ChristianJanuary 16, 2017 at 2:34 am #1331657
ChristopherModeratorHi there,
Your site is under construction mode, please provide us with login credentials.
Thanks.
January 16, 2017 at 3:06 am #1331693
Christian_WParticipantThis reply has been marked as private.January 16, 2017 at 4:00 am #1331762
Paul RModeratorHi Mario,
To achieve that, add this in Custom > Edit Global Javascript in the Custommizer
jQuery(function($) { $(window).scroll(function() { if ( $(this).scrollTop() > 0 ) { $('.x-logobar').addClass('x-logobar-fixed-top'); } else { $('.x-logobar').removeClass('x-logobar-fixed-top'); } if ( $(this).scrollTop() == 0 ) { $('.x-navbar').removeClass('x-navbar-fixed-top'); } }); });Then add this in Custom > Edit Global CSS
.x-logobar { transition: all 0.5s ease-in-out; } .x-logobar.x-logobar-fixed-top .x-logobar-inner { padding:0; } .x-logobar.x-logobar-fixed-top { position:fixed; top:0; width:100%; z-index:9999; } .x-navbar.x-navbar-fixed-top { top:60px; transition:all 0.1 ease-in-out; } .x-brand img { width: 200px; transition: all 0.5s ease-in-out; } .x-logobar.x-logobar-fixed-top .x-brand img { width:100px; } .x-navbar { top:150px; position:fixed; width:100%; transition: all 0.1s ease-in-out; } .masthead { background:#fff; }Hope that helps
January 16, 2017 at 4:29 am #1331796
Christian_WParticipantIt worked – thank’s a lot. Very good support.
Best reagrds
Christian
January 16, 2017 at 4:54 am #1331827
ThaiModeratorYou’re most welcome 🙂
If you need anything else please let us know.
January 20, 2017 at 1:38 am #1337997
Christian_WParticipantHello, as I said everthing went finde. But sometimes I have the problem, that by scrolling down you can see the revolution slider image in the menue. Adjust you’ll find a screenshot. Do you know what the problem is or how to solve the problem?
Best regards.
Christian
January 20, 2017 at 4:23 am #1338159
Paul RModeratorHi,
I went ahead and made some adjustment to the code to fix it.
Kindly check on your end.
Thanks
January 23, 2017 at 12:59 am #1341114
Christian_WParticipantHello,
thanks a lot for your help. A really great support. It worked but again I have the same Problem. I adjusted you a screenshot. I hope you can help me.
Best regards
Mario
January 23, 2017 at 1:14 am #1341126
ThaiModeratorHi Mario,
It should be fine now.
Please check again.
Cheers!
January 23, 2017 at 1:58 am #1341151
Christian_WParticipantEverything finde now – great! Thanks a lot.
Best regards
January 23, 2017 at 2:28 am #1341178
LelyModeratorYou’re welcome!
Cheers!February 9, 2017 at 1:00 am #1363924
Christian_WParticipantHello,
again I have the same problem. Everytime I change something in the header like navbar top height or the logo this error appears again.
Adjust a screenshot.
I hope you can help me.
Bet regards
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1327204 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
