Tagged: x
-
AuthorPosts
-
July 26, 2016 at 5:10 am #1103202
knowmatesParticipantHi there,
I’m trying to get a transparent header for our site based on icon stack but did’nt get it work until now. Could you please assist?
Many thanks
July 26, 2016 at 5:11 am #1103203
knowmatesParticipantThis reply has been marked as private.July 26, 2016 at 6:53 am #1103290
Paul RModeratorHi,
You can add this under Custom > CSS in the Customizer.
.home .x-navbar { border-bottom: 0; background-color: transparent; } .home .masthead { position: absolute; width: 100%; }Hope that helps.
July 26, 2016 at 7:02 am #1103305
knowmatesParticipantThank you that helped me. I’ve added “opactity” to get light transparent 🙂
July 26, 2016 at 7:08 am #1103319
knowmatesParticipantOne more Question: is it possible that the transparency is only when we’re on top of the page? So that scrolling has a color?
July 26, 2016 at 8:15 am #1103416
ThaiModeratorHi There,
#1] Please add the following Javascript under Customizer > Custom > Global Javascript:
jQuery(document).ready(function($){ $(window).scroll(function(){ if( $(window).width() < 480 ){ return false; } if ($(this).scrollTop() == 0) { $('.x-navbar').removeClass('x-navbar-fixed-top'); } }); });#2] Please add the following CSS under Customizer > Custom > Global CSS:
.x-navbar.x-navbar-fixed-top { background-color: #efefef; opacity: 1; }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1103202 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
