Jump to content

Style navigation

Recommended Posts

  • Replies 4
  • Views 535
  • Created
  • Last Reply
Posted

Try out this custom CSS:

.collection-type-blog .pagination {
    border: none;
    font-size: 20px;
    line-height: 30px;
}

We need to increase the line-height because with larger font-sizes on mobile styling the overflow: hidden rules will cut off the bottom of letters like "g" and "y" (screenshot below). Setting an explicit line-height fixes this.

Image%202020-11-10%20at%2012.20.54%20PM.

 

Posted

@mathildeeeeee I see on tablet, the menu doesn't look good, contact us break in new line

You can add this to Design > Custom CSS to solve

@media screen and (max-width:900px) and (min-width:641px) {
.main-nav ul {
    padding: 0 !important;
}
.main-nav li {
    font-size: 12px;
    margin-left: 10px;
}
}

contactus.png.177665c7fe0c6df3b9c2474b2988bd7e.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!)

Posted
17 hours ago, mess_cal said:

Try out this custom CSS:


.collection-type-blog .pagination {
    border: none;
    font-size: 20px;
    line-height: 30px;
}

We need to increase the line-height because with larger font-sizes on mobile styling the overflow: hidden rules will cut off the bottom of letters like "g" and "y" (screenshot below). Setting an explicit line-height fixes this.

Image%202020-11-10%20at%2012.20.54%20PM.

 

@mess_cal Amazing!! Thank you so much!! 

Posted
15 minutes ago, tuanphan said:

@mathildeeeeee I see on tablet, the menu doesn't look good, contact us break in new line

You can add this to Design > Custom CSS to solve


@media screen and (max-width:900px) and (min-width:641px) {
.main-nav ul {
    padding: 0 !important;
}
.main-nav li {
    font-size: 12px;
    margin-left: 10px;
}
}

contactus.png.177665c7fe0c6df3b9c2474b2988bd7e.png

@tuanphan thank you for that! Looks much better now!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.