Tagged: x
-
AuthorPosts
-
November 13, 2016 at 6:20 am #1255149
ReggieroodParticipantHi.
I want to know how i can make sure that only the navbar would be visible when i scroll down.
Right now the logo + navbar stays on top.link: http://www.grapelli.nl/
With kind regards
November 13, 2016 at 6:21 am #1255150
ReggieroodParticipantOh i fixed it when i pressed:
Layout
Inline
Stacked <<Is there still an option to put my logo at the left?
November 13, 2016 at 6:32 am #1255159
ThaiModeratorHi There,
Please add the following CSS:
nav#ubermenu-main-50-primary { display: inline-block !important; margin-top: 45px; }Hope it helps 🙂
December 30, 2016 at 7:28 am #1309817
ReggieroodParticipantNice.
Then i want to know
On my other website: http://www.rbrood.nl/rbrood. i want to have a dark transparant header.
If you shrink the page (smaller) you will see that the menu button appears to be with a rgba (0,0,0,0.5) but i want to have that also with the regular button. (its now grey..)With kind regards
December 30, 2016 at 7:38 am #1309831
JoaoModeratorHi There,
Your header is static at the moment on : http://www.rbrood.nl/rbrood
Would you mind to provide more detailas about what you are trying to achieve, I am a bit confused .
Thanks
Joao
December 30, 2016 at 10:10 am #1309968
ReggieroodParticipantthis is the example i need to achieve: http://www.tripwiremagazine.com/wp-content/uploads/2012/06/go4_thumb.jpg
December 30, 2016 at 10:43 am #1310019
JoaoModeratorHi There,
Please add the following code to Appereance > Customizer > Custom > CSS
@media (min-width: 969px) { .home body { margin-top: -60px; } }Hope that helps
Joao
December 30, 2016 at 3:45 pm #1310303
ReggieroodParticipantHi.
It doesnt work. This is the code right now:
.x-navbar { position: absolute; width: 100%; top: 0; background-color: rgba(0, 0, 0,0.5); box-shadow: none; border-bottom: none; } body { background-color: rgba(0, 0, 0,0.5); @media (min-width: 969px) { .home body { margin-top: -60px; } }What you can see is that x-navbar has a background-color of 0,5.
It only shows this color when the webpage is smaller: http://prnt.sc/dpv75t
If the page is like normal size, then its grey: http://prnt.sc/dpv6tz and it should be this 0,5December 30, 2016 at 3:51 pm #1310311
JoaoModeratorHi There,
There is a missing : }
after :
body { background-color: rgba(0, 0, 0,0.5);Please update your code to:
.x-navbar { position: absolute; width: 100%; top: 0; background-color: rgba(0, 0, 0,0.5); box-shadow: none; border-bottom: none; } body { background-color: rgba(0, 0, 0,0.5); } @media (min-width: 969px) { .home body { margin-top: -60px; } }Hope that helps,
Joao
December 31, 2016 at 4:17 am #1310833
ReggieroodParticipantThanks for this code!
December 31, 2016 at 4:35 am #1310842
ReggieroodParticipantHi!
It didnt work but i asked the same question on facebook xtheme users and i got a solution
CSS CODE:
.x-logobar{
display:none;
}.x-navbar .desktop .x-nav > li > a {
color:#fff;
padding-top: 25px;
}.x-navbar:not(.x-navbar-fixed-top) {
background: transparent !important;
}.x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
color:#000;
}.home .masthead{
height: 0px;
}`and Javascript
jQuery(document).ready(function($){
$(window).scroll(function(){
if ( $(this).scrollTop() == 0 ) {
$(‘.x-navbar’).removeClass(‘x-navbar-fixed-top’);
}
});
});Thanks!
December 31, 2016 at 4:38 am #1310844
ReggieroodParticipantI cannot edit my previous post.
It was ment for another post regadering the sameDecember 31, 2016 at 4:45 am #1310845
Rue NelModeratorHello There,
Thanks for sharing the solution. We’re just glad that the Facebook User group was able to help you.
If you need anything else we can help you with, don’t hesitate to open another thread.Best Regards.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1255149 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
