Tagged: x
-
AuthorPosts
-
June 9, 2016 at 10:30 am #1034176
nonenoneParticipantHi there,
I have two questions:
1-How to make the website’s menu semi transparent on scroll? (like this website http://www.lunatic.com.au/)
2-How can I make section 1 E have one background?
To know what I mean please follow these steps:
-Login to the website.
-Go to the Home Page.
-Click on Edit with Cornerstone.
-On Layout scroll down to section 1 E.
-Choose the mobile view.I would like section 1 E background to be one background but currently I have a white colour above the logo and when I click on the mobile menu the white colour expands.
How can I get rid of this white colour and which code or setting is causing this? I would like all of the background to be one background (one colour or one image).
June 9, 2016 at 10:30 am #1034178
nonenoneParticipantThis reply has been marked as private.June 9, 2016 at 3:16 pm #1034607
Nabeel AModeratorHi there,
Thanks for writing in!
1. Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery(document).ready(function($){ $('.x-navbar').addClass("x-nav-trans"); $(window).scroll(function(){ if( $(this).scrollTop() > 100 ) { $('.x-navbar-fixed-top').addClass("x-nav-trans"); }else{ $('.x-navbar-fixed-top').removeClass("x-nav-trans"); } }); });And then add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.x-nav-trans { background-color: rgba(255,255,255,0.4) !important; }2. I’m not able to edit your homepage with Cornerstone, can you please grant us the administrative rights so we can take a look?
Thanks!
June 9, 2016 at 5:45 pm #1034779
nonenoneParticipantThis reply has been marked as private.June 9, 2016 at 11:44 pm #1035281
LelyModeratorHi There,
1.) Please update this CSS:
.x-nav-trans { background-color: rgba(255,255,255,0.4) !important; }To this:
.x-navbar.x-nav-trans { background-color: rgba(255,255,255,0.4) !important; }2.) That area is your logobar. It’s background is set to be transparent, so it is seeing the white background you have set for your site. We can add the following CSS to make it black on mobile:
@media (max-width: 979px){ .x-logobar { background-color:#000000; } }Hope this helps.
June 10, 2016 at 4:31 am #1035604
nonenoneParticipantHi,
1-I would like the menu to be transparent on the video background section and then become semi- transparent on scroll. Also the current on scroll menu is too small, how to make it bigger?
2-Now with this code there are three colours, black, grey and white when the menu is clicked. I would like the background to be a one background (weather a one colour or an image).
June 10, 2016 at 2:23 pm #1036296
RadModeratorHi there,
1. Change this CSS
.x-navbar.x-nav-trans { background-color: rgba(255,255,255,0.5) !important; }to this
.x-navbar.x-nav-trans.x-navbar-fixed-top { background-color: rgba(255,255,255,0.5) !important; padding: 10px 0px; }2. In that case, what color do you prefer?
Thanks!
June 10, 2016 at 4:11 pm #1036446
nonenoneParticipant1-Worked perfectly! thank you.
2-I just want it to be one background whether it’s a one colour or an image (not like what I have now which is multiple colours and shades).
June 10, 2016 at 11:16 pm #1036903
Rue NelModeratorHello There,
Thanks for the updates!
2] To change the background color in smaller screens, please add the following css code in the customizer, Appearance > Customize > Custom > CSS or insert this code in your child theme’s style.css (if you are using a child theme)
@media(max-width: 979px){ .site .x-btn-navbar, .site .x-btn-navbar:hover { color: #fff; } .site .x-logobar, .site .x-navbar-wrap, .site #x-section-13 { background-color: red !important; } }Hope this helps.
June 11, 2016 at 3:18 am #1037057
nonenoneParticipantThank you for this.
How can I remove smaller screens and mobile menu?
June 11, 2016 at 4:14 am #1037098
ChristopherModeratorHi there,
Please clarify what do you want to remove from mobile devices?
Thanks.
June 12, 2016 at 5:28 am #1038124
nonenoneParticipantI would like to remove the whole menu in smaller screens and mobile
June 12, 2016 at 6:43 am #1038161
ThaiModeratorHi There,
Please add the following CSS:
@media (max-width: 767px){ .x-navbar-wrap { display: none !important; } }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1034176 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
