Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1

Change the size of headline on mobile only?


Go to solution Solved by tuanphan,

Question

  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

She uses Cover Page. Custom CSS doesn't affec Cover page. Add to Page Settings > Advanced > header <style> @media screen and (max-width: 600px) { h1#sqs-slash-page-header {

@tuanphan Thanks! I didn't know that!

8 answers to this question

Recommended Posts

  • 1
16 hours ago, rwp said:

@media screen and (max-width: 600px) {
  h1 {
    font-size: 20vw;
  }
}

Give this a go.

She uses Cover Page. Custom CSS doesn't affec Cover page.

13 hours ago, deliberatemom said:

Hmmmm - it still didn't work. Looks the same.

Add to Page Settings > Advanced > header

<style>
  @media screen and (max-width: 600px) {
  h1#sqs-slash-page-header {
    font-size: 20vw !important;
  }
}
</style>

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
@media screen and (max-width: 600px) {
  h1 {
    font-size: 20vw;
  }
}

Give this a go.

Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Link to post
  • 0
46 minutes ago, deliberatemom said:

Thank you for your prompt response. It didn't work - looks exactly the same. 😞 

This should do it, and work better

@media screen and (max-width: 600px) {
  h1#sqs-slash-page-header {
    font-size: 20vw !important;
  }
}

 

Edited by rwp

Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Link to post
  • 0
1 hour ago, deliberatemom said:

Hmmmm - it still didn't work. Looks the same.

What browser are you using? Are you adding this to the CSS section?

Edited by rwp

Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Link to post
  • 0

@tuanphan Thanks! I didn't know that!

Free Squarespace 7.1 Anchor Link and Accordion Plugins available here!

If I replied to one of your questions with code, it was either CSS or jQuery.

To add CSS, go to Design -> Custom CSS

jQuery needs some additional steps. Head here: https://code.jquery.com/ and click on minified, under jQuery 3.x and copy that code into Squarespace.

After you put that code into the code injection section in Squarespace, you can add the code I supplied. The code from me will need <script> added before it and </script> added after it (only for jQuery).

There are two places that you can add the code, one is site wide (adds to all pages). Settings -> Advanced -> Code Injection

The other is for a specific page (adds to one page only). Pages -> Gear Icon next to the page -> Advanced

Link to post
  • 0
4 hours ago, tuanphan said:

She uses Cover Page. Custom CSS doesn't affec Cover page.

Add to Page Settings > Advanced > header


<style>
  @media screen and (max-width: 600px) {
  h1#sqs-slash-page-header {
    font-size: 20vw !important;
  }
}
</style>

 

That worked! Thank you so much! 🙂

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...