thephase51 Posted September 12, 2023 Share Posted September 12, 2023 I am developing a membership site for a client and the member's area navi is a default drop down. I'd like to change this to a full with Navi on desktop. See attached image Link to comment
tuanphan Posted March 26 Share Posted March 26 You can add this code to All Pages in Member Area Page Header Code Injection <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> $(document).ready(function(){ $('.header-display-desktop nav .header-nav-folder-content>div').appendTo('nav.header-nav-list'); }); </script> <style> nav.header-nav-list>div:nth-child(1) { display: none; } nav.header-nav-list>div { margin-left: 1.2vw !important; margin-right: 1.2vw !important; } </style> Result (before) After Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment