Tagged: x
-
AuthorPosts
-
May 9, 2016 at 4:05 pm #983000
Desmond TParticipantI need help figuring out how to make the topbar fixed on the website along with the navbar, and how to make the logo display across both the nav bar and logo bar on the left side of the screen, similar to http://www.frsport.com/
Here is what I have in my CSS:
.x-topbar { height: 30px; min-height: 0; text-align: right; } .x-topbar-inner.x-container.max.width, .x-logobar-inner>div, .x-navbar-inner>div { width: 100% !important; /*Current value is 88%(your current site width in customizer)*/ max-width: 1920px !important; /*Current value is 1000px(your current site max width)*/ } .x-logobar { text-align: left; } .x-topbar-inner.x-container.max.width { height: 30px; overflow: hidden; }May 9, 2016 at 4:35 pm #983031
Desmond TParticipantI deleted that CSS for now, until i get this other issue fixed
May 9, 2016 at 4:37 pm #983035
Desmond TParticipantI followed this post and got the topbar docked with the navbar, but now i need the logo to overlap into the topbar
https://community.theme.co/forums/topic/make-topbar-fixed-with-navbar/#post-94848
May 9, 2016 at 9:02 pm #983393
John EzraMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
a.x-brand.img { position: absolute; z-index: 9; top: 40px; } .x-navbar-inner { height: 65px; }Hope this helps – thanks!
May 10, 2016 at 8:54 am #984114
Desmond TParticipantDo I need all of this CSS?
.x-topbar { height: 30px; min-height: 0; text-align: right; } .x-topbar { z-index:1; } .x-brand img { margin-top: -40px; } a.x-brand.img { position: absolute; z-index: 9; top: 40px; } .x-navbar-inner { height: 65px; }May 10, 2016 at 11:10 am #984335
Nabeel AModeratorHi again,
You can replace the above CSS with suggested Code.
Let us know how this goes!
May 10, 2016 at 2:31 pm #984656
Desmond TParticipantJust replaceing the code does not work correctly. YOu can see what i mean on the website.
May 10, 2016 at 5:01 pm #984843
Desmond TParticipantCan someone explain to me the point of putting this code in seperately rather than just under .x-brand img?
a.x-brand.img { position: absolute; z-index: 9; top: 40px;May 10, 2016 at 10:54 pm #985272
Nabeel AModeratorHi again,
I’m not sure what you mean? Can you please explain it bit more? If it’s not working correctly then you can keep all of your CSS.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-983000 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
