Jump to content

How to change the blog headers to different fonts using css?

Recommended Posts

  • Replies 2
  • Views 202
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 9/12/2022 at 12:40 PM, Tula85 said:

Site URL: http://meian.com.au

Hi I’m having problems trying to target the different blog headers to have different fonts on my main page?  They all belong to the one class h1 but is there a way I can target each header so they can have different fonts for each header?  

You can set style by target the attribute href


My sample code is

.blog-title a[href *="australian"] {
  font-family: "arial" ;

Change my code to meet your requirement

Hope it can help

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

Create an account or sign in to comment

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

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