Jump to content

Changing color for two words on the homepage

Recommended Posts

  • Replies 3
  • Views 339
  • Created
  • Last Reply
8 hours ago, Aishwarya said:

Site URL: https://aishwaryabalasankar.com

I'm looking to change the font color for my name (Aishwarya Balasankar) in the intro line on the homepage of my website. I want to change it to my logo color (#FF512F). I am looking for help with coding the same

You gotta add it as "code block"

<h2>
  Hello! I’m <span style='color: #e64d4e;'>Aishwarya Balasankar</span>, UX/UI designer. I am fascinated by human behaviour and passionate about creating delightful user experiences
</h2>

image.png.6e9c193f8e743f9007785175e047e51c.png

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

You can also use Markdown Block in this case, with syntax (## means heading 2, ### means heading 3, similar for #, ####, #####, ######)

## Hello! I’m <span style='color:#e64d4e;'>Aishwarya Balasankar</span>, UX/UI designer. I am fascinated by human behaviour and passionate about creating delightful user experiences

Markdown syntax list

With Markdown, you can format some text more easily without learning their code (bold, italic, insert links, insert images ...).

Also, I see your navigation has 2 items only (About, Contact). You can consider change Tablet Navigation Burger menu to Desktop Menu (Add this to Design > Custom CSS to achieve this)

/* Force Desktop Menu on Tablet */
@media screen and (max-width:991px) and (min-width:768px) {
.header-display-desktop {
    display: flex !important;
}
.header-display-mobile {
    display: none !important;
}
.header-burger {
    display: none;
}
.header-title-nav-wrapper {
    flex: 1 0 100% !important;
}
.header-nav {
    display: flex !important;
    width: 70% !important;
    flex: 1 1 70% !important;
}
.header-title {
    flex: 1 0 70% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

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