Jump to content

How to code responsive second navigation?

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.DelawareRising.club/roster

I have a second bar under my navigation on some pages, but I can't figure out the code to make it responsive like the header nav across varying sizes...

Any help would be greatly appreciated 🙂


This is the code I currently use, which I know changing the margin just picks the location of the bar just on that page dimension.

div.roster-banner {
  margin: -110px 0px 0px -500px !important;
  width: 2000px !important;
  text-align: left !important;
  background: linear-gradient(0deg, rgba(22,47,71,1)  95%, rgba(255,255,255, 1) 20%);

Link to comment
On 9/26/2022 at 4:30 AM, tuanphan said:

It looks fine to me. Can you describe in more detail "responsive"?

I'm trying to have those two links resize in line with the navigation links. It currently resizes with the rest of the body.

If that helps clarify at all, lol. Another problem I'm having is that those links are getting cut off on mobile because I'm not sure how to stop them from getting pushed wide.

Link to comment
On 9/29/2022 at 10:39 PM, tuanphan said:

Add to Design > Custom CSS

@media screen and (max-width:991px) {
.roster-banner {
    padding-left: 15px;


Thanks! That did help the text from moving to the left or right. However, I can't figure out how to set top or bottom padding to stop any resizing of that banner... is vertical padding the right solution for that?


Link to comment
  • Solution
On 10/7/2022 at 6:54 AM, Que594 said:

@tuanphan No worries if you don't know the code for this, but if you could even just point me in the right direction to do some research would be great!

Use some code like this

.roster-banner {
    padding-top: 20% !important;
    padding-left: 15px !important;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.