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

CSS to inherit the heading font family


Question

Site URL: https://ukulele-rabbit-z4zx.squarespace.com/

Hello! I'm creating a Squarespace template to sell. 

As the summary blocks aren't possible to change the title to the heading font without code, is it possible to make it so that it just makes the font family whatever the headings are currently set to? 

i.e. 

.summary-title-link {
	font-family: ??inherit??;
}

This is because whoever buys the theme will likely change the font to their own branding, and I don't want to have to get everyone to touch the code in order to change this. 

Thanks!

Site password: pearler

Link to comment

3 answers to this question

Recommended Posts

  • 0
55 minutes ago, pearler1570048501 said:

Site URL: https://ukulele-rabbit-z4zx.squarespace.com/

Hello! I'm creating a Squarespace template to sell. 

As the summary blocks aren't possible to change the title to the heading font without code, is it possible to make it so that it just makes the font family whatever the headings are currently set to? 

i.e. 


.summary-title-link {
	font-family: ??inherit??;
}

This is because whoever buys the theme will likely change the font to their own branding, and I don't want to have to get everyone to touch the code in order to change this. 

Thanks!

Site password: pearler

you can use css variable var() to assign font name dynamically

CSS Variables - The var() function (w3schools.com)

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Portfolio hover Replace Link Style
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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