Tula85 Posted September 12, 2022 Share Posted September 12, 2022 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? Link to comment
Beyondspace Posted September 16, 2022 Share Posted September 16, 2022 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment