-
AuthorPosts
-
July 14, 2015 at 4:49 pm #330349
sendpireParticipantHey there, first of thanks for that awesome theme, you guys really rock!
I’m creating my website and I want to create a header like on the ‘Uber’ page. So I use the Rev Slider to create a display filling slider looking like on Uber, how can I make the header transparent AND overlap the Rev Slider, not just while scrolling but always?
Thank you guys!
July 14, 2015 at 7:33 pm #330440
FriechModeratorHi There,
Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Cheers!
July 15, 2015 at 5:39 am #330847
sendpireParticipantSry if it’s not explained too good, I’m no native speaker.
If you visit uber.com on your iphone it shows a big full screen picture (slider) and the header of the page (with logo and menu button) seems to have a transparent background and sits on the picture. If I open my site on my iphone there is the header with a white background and under it comes my revolution slider.
I hope that describes it well, I’m on my phone right now so I can’t add a screenshot.
July 15, 2015 at 5:43 am #330852
ChristopherModeratorThanks 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.
July 20, 2015 at 12:42 pm #335079
sendpireParticipantThis reply has been marked as private.July 20, 2015 at 3:46 pm #335219
Nabeel AModeratorHi again,
Your site is in under Construction mode, would you mind sharing the login details of your site in a private message so we can take a look?
Thanks!
July 20, 2015 at 11:36 pm #335437
sendpireParticipantThis reply has been marked as private.July 21, 2015 at 3:06 am #335574
Paul RModeratorHi,
You can add this under Custom > CSS in the Customizer.
@media (max-width: 979px) { .x-navbar { position: absolute; width: 100%; background-color: transparent; top:0; right:0; left:0; } .x-nav-wrap.mobile.collapse.in { background-color: rgba(255,255,255,0.7); display: block; } .x-navbar .mobile .x-nav li>a { border: 1px solid #000; } }Hope that helps.
July 21, 2015 at 3:08 pm #336224
sendpireParticipantworks awesome! one more thing, is there a way to make the mobile menu more solid as soon as it is expanded? It is hard to see on some backgrounds.
July 21, 2015 at 7:27 pm #336412
LelyModeratorHello There,
You may adjust the following CSS:
.x-nav-wrap.mobile.collapse.in { background-color: rgba(255,255,255,0.7); display: block; }0.7 on this line background-color: rgba(255,255,255,0.7); is the white opacity. You may adjust it. Maximum is 1.
Hope this helps.
July 26, 2015 at 5:20 am #340734
sendpireParticipantIt looks awesome on mobile! thanks!
What can I do if I want to keep the code for mobile the one you gave me and give the desktop version the same effect?
July 26, 2015 at 5:40 am #340751
ChristopherModeratorHi there,
Please add this :
@media (min-width:979px){ .x-navbar { background-color: rgba(0,0,0,0.5); } }Hope it helps.
July 26, 2015 at 5:51 am #340759
sendpireParticipantit kinda works but not like I want it to. It creates a transparent header but the header is not on the revolution slider, it is only above the revolution slider.
I want it to be exactly like on mobile if thats possible. If you look at the mobile version, the revolution slider is placed under the transparent header. Its hard to describe but if you check out my site on a mobile device you should get what I mean.
July 26, 2015 at 6:02 am #340769
ChristopherModeratorHi there,
Please update previous code to :
@media (min-width:979px){ .x-navbar { background-color: rgba(0,0,0,0.5); } .x-slider-container.below { margin-top: -76px; } }Hope that helps.
July 26, 2015 at 6:24 am #340774
sendpireParticipantthat works fine thanks!
I added the following java script code I found in another thread so the header will turn white when scrolling:
jQuery(document).ready(function($){
$(window).scroll(function(){
if ($(this).scrollTop() > 0) {
$(‘.x-navbar-fixed-top’).css(“background-color”, “#fff”);
} else {
$(‘.x-navbar-fixed-top’).css(“background-color”, “transparent”);
}
});
});it works, the header is transparent while on top and turns into a white header when I scroll down, but as soon as I get back to the top the header is fully transparent, how do I change that?
and another problem is that the transparent header works on all pages except for the woocommerce products overview page.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-330349 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
