Implement basic site menu
1 unresolved thread
1 unresolved thread
It has been communicated to us that the menu on the left hand side of the designs.apertis.org site is missed when looking for documents on the website. Implement a basic site menu in a sidebar to get feedback.
Signed-off-by: Martyn Welch martyn.welch@collabora.com
Merge request reports
Activity
Filter activity
- Resolved by Martyn Welch
- Resolved by Martyn Welch
- Resolved by Martyn Welch
2 2 <script> 3 3 anchors.add('h1,h2,h3,h4,h5,h6').remove('.page-heading > h1'); 4 4 </script> 5 6 <script> 7 function toggleSidebar(item) { 8 $('#site-sidebar').toggleClass('sidebar-hidden'); 9 if ($('#site-sidebar').width() != 300) { Alternatively: set
sidebar-hidden
on the body, drop this block and then add this CSS:.sidebar-hidden a.navbar-brand.navbar-sitebar { transform: rotate(180deg); }
Edited by Emanuele AinaI've not got this bit working - it's not being inherited as the
.sitebar-hidden
class doesn't get applied to the link. If I give the link thesite-sitebar
ID it still doesn't seem to get inherited, though I can see the.sitebar-hidden
class being applied. The link also gainsvisibility: hidden
, which we don't want...Edited by Martyn Welch
Please register or sign in to reply