Jump to content

Members Site Navigation dropdown - make full width

Recommended Posts

  • 6 months later...
  • Replies 1
  • Views 2.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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>

image.thumb.png.eeecdfc365a2c8a5f438f550fe353f12.png

 

Result

(before)

image.png.d55adaab2ecb5d27bf7c153672764bc1.png

After

image.png.af92f8851f925e738a71e063fcd5cb64.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.