Tagged: x
-
AuthorPosts
-
August 23, 2016 at 9:34 am #1143138
yhshin1020ParticipantHey,
I want to make the header transparent and have it overlap on top of the content on the page, instead of the content coming below the header.
I have included more details in my next reply.
Thanks!
August 23, 2016 at 9:36 am #1143142
yhshin1020ParticipantThis reply has been marked as private.August 23, 2016 at 10:45 am #1143271
RahulModeratorHey There,
Thanks for writing in!
In order to make a transparent header, follow this ticket.
https://community.theme.co/forums/topic/transparent-header-2/
Hope this helps!
August 24, 2016 at 7:37 am #1144605
yhshin1020ParticipantThis reply has been marked as private.August 24, 2016 at 10:47 am #1144860
ThaiModeratorHi There,
Please add the following CSS:
.home .x-navbar { position: absolute; width: 100%; }Hope it helps 🙂
August 24, 2016 at 12:13 pm #1144979
yhshin1020ParticipantThis reply has been marked as private.August 24, 2016 at 12:16 pm #1144986
yhshin1020ParticipantThis reply has been marked as private.August 24, 2016 at 2:25 pm #1145244
JoaoModeratorHi There,
Upload the code above to:
@media screen and (min-width: 969px) { .home .x-navbar { position: absolute; width: 100%; } }This code will affect just the home page and devices above 969px you can remove .home and the code will affect all the pages, you can increase the number of 969px to higher resolutions if you feel like (ex: 1200px).
If you need further help please point which pages exactly you are trying to achieve this effect.
Thanks
Joao
August 25, 2016 at 3:21 am #1146262
yhshin1020ParticipantThis reply has been marked as private.August 25, 2016 at 3:38 am #1146273
yhshin1020ParticipantThis reply has been marked as private.August 25, 2016 at 5:15 am #1146381
Paul RModeratorHi,
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery(function($) { $('.ubermenu-responsive-toggle').on( "click", function() { $('.x-navbar').toggleClass('navbar-solid'); }); });Then add this in Custom > Edit Global CSS
.x-navbar.navbar-solid { position:static !important; }Hope that helps.
`August 25, 2016 at 5:25 am #1146388
yhshin1020ParticipantThis reply has been marked as private.August 25, 2016 at 7:08 am #1146486
Paul RModeratorHi,
In that case, kindly remove the code provided and add this under Custom > Edit Global CSS in the Customizer.
@media (max-width: 979px) { body .x-navbar { position:static !important; } }Hope that helps
August 25, 2016 at 9:53 am #1146699
yhshin1020ParticipantThanks, that was what i was looking for!
Great!
August 25, 2016 at 11:10 am #1146832
JoaoModeratorHi There,
Glad to hear it, let us know if you need further help.
Thanks
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1143138 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
