Tagged: x
-
AuthorPosts
-
May 18, 2016 at 12:28 pm #997772
acritchParticipantI am trying to create a “Features” type page where I list features in a sidebar and the links jump to certain areas on the page. I’ve managed to get the sidebar to appear, populate, and link to sections of the page. The only thing I can’t figure out is how to get the sidebar to be static so it does not scroll with the rest of the page. Given the length of the sidebar it will need to scroll at some point, but it would be desireable to have it static when scrolling on the main body.
I did search the forums for this topic and I haven’t been able to find a solution that works as I’d prefer NOT to switch stacks.
I will include the page info in a separate post since it is in a Coming Soon mode.
May 18, 2016 at 12:29 pm #997773
acritchParticipantThis reply has been marked as private.May 18, 2016 at 1:33 pm #997883
JoaoModeratorHi There,
Please add this code at your Appereance / Customizer / Custom / CSS
.x-sidebar.right { position: fixed; right: 100px; }Hope that helps,
Joao
May 18, 2016 at 1:53 pm #997923
acritchParticipantThat worked perfectly! Thank you very much!
May 18, 2016 at 3:19 pm #998045
RahulModeratorYou’re welcome!
August 7, 2016 at 12:10 pm #1121034
Stephan MParticipantWould this solution be responsive or require adding media queries to hide it at certain screen sizes?
August 7, 2016 at 12:24 pm #1121042
ThaiModeratorHi Stephan,
Would you mind providing us with your website URL so we can take a closer look?
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-997772 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
