Tagged: x
-
AuthorPosts
-
February 14, 2017 at 3:52 pm #1371018
KB-WFWParticipantHi Support,
I was able to add a background image to the top of the Topbar, but wanted to have the same affect when scrolling down the page so that the same image appeared at the top of the fixed navbar
I just can’t see m to get this to work [ .x-navbar-fixed-top ] I have cleared all css.. hope you can steer me in the right direction.
See here : https://goo.gl/eSqurs
thanks
February 14, 2017 at 10:55 pm #1371393
NicoModeratorHi There,
Try adding this code in your Customizer > Custom > CSS:
.x-navbar-fixed-top .x-container:before{ background-image: url(http://discitus.com/wp-content/uploads/2017/02/discitus-bar-1.png); height: 10px; max-width: 100%; width: 100%; background-size: contain; }Let us know how it goes.
Thanks.
February 15, 2017 at 11:42 am #1372237
KB-WFWParticipantThanks , this gets us part way.. Anyway it can span the full page width ?
February 15, 2017 at 3:23 pm #1372492
JadeModeratorHi there,
Please update the code to:
.x-navbar-fixed-top:before { background-image: url(http://discitus.com/wp-content/uploads/2017/02/discitus-bar-1.png); height: 10px; max-width: 100%; width: 100%; background-size: contain; content: " "; display: table; }Hope this helps.
February 15, 2017 at 3:33 pm #1372506
KB-WFWParticipantThat did it. Thanks Jade.
February 15, 2017 at 11:00 pm #1373006
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1371018 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
