Jump to content

How can I reduce the text size, while on mobile, of the navigation on a portfolio page set as hover background in 7.1

Recommended Posts

Site URL: https://seal-mushroom-jf6r.squarespace.com/

The issue I am having is that one of the titles is to too long to fit on a single line when on a mobile browser. 

I have done a bit of digging and it appears that the main navigation formatting is determined by the H1 settings. So I can force H1 to be smaller as a universal setting but that has some negative consequences in other places. Is there any way to reduce the size of this text only on mobile browser? Any advice would be appreciated. Screen snaps below that show both the desktop and mobile appearance.

Screen Shot 2021-03-05 at 12.30.26 PM.png

Screen Shot 2021-03-05 at 12.30.20 PM.png

Link to comment
  • Replies 4
  • Views 1.6k
  • Created
  • Last Reply
3 hours ago, michael.dabbs said:

Site URL: https://seal-mushroom-jf6r.squarespace.com/

The issue I am having is that one of the titles is to too long to fit on a single line when on a mobile browser. 

I have done a bit of digging and it appears that the main navigation formatting is determined by the H1 settings. So I can force H1 to be smaller as a universal setting but that has some negative consequences in other places. Is there any way to reduce the size of this text only on mobile browser? Any advice would be appreciated. Screen snaps below that show both the desktop and mobile appearance.

Screen Shot 2021-03-05 at 12.30.26 PM.png

Screen Shot 2021-03-05 at 12.30.20 PM.png

What is your site password

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
46 minutes ago, michael.dabbs said:

password is 

happy

try

@media only screen and (max-width: 600px) {
      #collection-603525dfadad1b7bece2e3e0 h1.portfolio-hover-item-title  {
        font-size: 2.5em !important;

      }
      #collection-603525dfadad1b7bece2e3e0 h1.portfolio-hover-item-title span {
         margin: 0 !important; 
      }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.