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

STYLE FONT CHANGE mobile only

Question

Hello guys! Can someone help me with a css code to change the style of a H2 font a specific page?  I've been trying but cant figure it out. Thank you!!!

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

I'm not really to sure how you want to stye your H2 but you'll need something along the lines of this...

@media (max-width:640px){
	h2 {
		font-size:20px!important
	}
}

 


If you see an answer that was helpful please consider hitting the 121238226_Screenshot2019-11-02at14_53_39.png.0416997a5e856e0159fa1edbd624659e.png button on the right. 

Need help with your website or online store? Feel free to get in touch.

thompsonweb.design

Share this post


Link to post
  • 0

Thank you. Thom! 

On that page I have two block  using H2, is there anyway I can make it affect only one of the blocks font? Thank you 🙂

Share this post


Link to post
  • 0

Yes, I have linked to the below blog post which details how to target a specific block.

https://www.kayleighnoele.com/blog/how-to-target-edit-and-apply-css-to-a-specific-block-on-squarespace


If you see an answer that was helpful please consider hitting the 121238226_Screenshot2019-11-02at14_53_39.png.0416997a5e856e0159fa1edbd624659e.png button on the right. 

Need help with your website or online store? Feel free to get in touch.

thompsonweb.design

Share this post


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