Tagged: x
-
AuthorPosts
-
December 10, 2016 at 2:47 am #1288194
AlCAtParticipantHi,
I have set up a hero slider above masthead. I would like to have my current top bar at the top of the hero slider image and the nav bar at the bottom.
Can you help me on this?
Thank you
December 10, 2016 at 2:56 am #1288197
ChristopherModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
December 10, 2016 at 3:15 am #1288208
AlCAtParticipantThis reply has been marked as private.December 10, 2016 at 3:32 am #1288212
Rue NelModeratorHello There,
Thanks for providing the information. To move the topbar at the top of the slider just like this: http://prntscr.com/dhmmyc
Please do the following:
1] Please edit the page back in Cornerstone
2] Go to the settings tab, Settings > Custom JS and insert the following custom js code(function($){ $(document).ready(function(){ $('.x-topbar').prependTo( $('.x-slider-container.above') ); }); })(jQuery);3] And then please add the following css code in the customizer, Appearance > Customize > Custom > CSS
.x-topbar { position: absolute; width: 100%; top: 0; left: 0; z-index: 10000; }We would loved to know if this has work for you. Thank you.
December 10, 2016 at 3:41 am #1288216
AlCAtParticipantHi Rue,
It has worked perfectly! Can I do the same with the nav bar but placing it at the bottom of the slider?
I also want to remove the logo background completely as I’m using the revolution slider as header.
December 10, 2016 at 4:18 am #1288228
Rue NelModeratorHello There,
Thanks for updating in!
1] To place the navbar at the bottom, please edit the slider and add an offset container. With offset container settings, the Height of Slider will be decreased with the height of these Containers to fit perfect in the screen. Please see this screenshot: http://prnt.sc/dhmyyq
2] And to remove the logo, please edit your page in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS
.x-logobar { display: none; }Hope this helps. Please let us know how it goes.
December 10, 2016 at 4:30 am #1288236
AlCAtParticipantHi Rue,
It worked great! Thank you so much.
Just one issue: the background of the nav bar changed. It went from a slighty transparent black to plain gray but only when overlaying on the header. Once I scroll down, it goes back to the normal background I have set.
December 10, 2016 at 4:36 am #1288242
ChristopherModeratorHi there,
Please add this code :
@media only screen and (min-width: 979px){ .x-navbar { margin-top: -36px; } }Hope it helps.
December 11, 2016 at 3:17 am #1288829
AlCAtParticipantHi Christopher!
Thank you for the code.
It corrected the color but it creates a gap between the hero image and the screen. I have attached screenshots.
I also lose the fixed top option of the nav bar. Can you help me correct it?
December 11, 2016 at 4:48 am #1288866
ChristopherModeratorHi there,
please remove first section which is empty.
Thanks.
December 11, 2016 at 5:09 am #1288874
AlCAtParticipantHi Christopher,
It’s more about how to have the header fit the whole screen. Also I lost the fixed top option even though it’s still activated in the customizer.
December 11, 2016 at 5:14 am #1288876
ChristopherModeratorHi there,
The menu is fixed top, please see the attachment.
Seems like removing extra section has solved the issue as I don’t see the space anymore.Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1288194 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
