Jump to content

Help me change the color of just one word in my website banner text page title?

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: http://contenti.xyz/

Hey there,

Tried Googling but couldn't seem to figure this out. Small detail but would appreciate help on this!

Basically, trying to change the color of just one word in my banner headline text (bolded word in the screenshot: "Evergreen").

But I think I'm doing something wrong because after following custom CSS, I can't get the style down for this particular piece of text block - the one in the banner/title text.

Tried messing with some different CSS codes but couldn't target this particular section.

Am I missing something? How would I change the color of one word ("Evergreen") so that it's green?

Help would be highly appreciated! Let me know if you need anything else too.

Thanks in advance!

image.thumb.png.ccdc4e27b3e7b184989c5d7bf5fb1cdd.png

Link to comment
  • Solution
18 minutes ago, iraklizv said:

Site URL: http://contenti.xyz/

Hey there,

Tried Googling but couldn't seem to figure this out. Small detail but would appreciate help on this!

Basically, trying to change the color of just one word in my banner headline text (bolded word in the screenshot: "Evergreen").

But I think I'm doing something wrong because after following custom CSS, I can't get the style down for this particular piece of text block - the one in the banner/title text.

Tried messing with some different CSS codes but couldn't target this particular section.

Am I missing something? How would I change the color of one word ("Evergreen") so that it's green?

Help would be highly appreciated! Let me know if you need anything else too.

Thanks in advance!

image.thumb.png.ccdc4e27b3e7b184989c5d7bf5fb1cdd.png

try

#collection-60897a4664960358b15957e0 .page-description p strong {
  color: green;
}

image.thumb.png.9e7d6f352b26d510d754add029db92ae.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
Just now, bangank36 said:

try


#collection-60897a4664960358b15957e0 .page-description p strong {
  color: green;
}

image.thumb.png.9e7d6f352b26d510d754add029db92ae.png

Easier than expected 😄

Yup, this works perfectly, thanks!

I was trying to select "white-space:pre-wrap" as the main "section" by doing inspect element on the word. Apparently I didn't notice the div class above with the collection id code.

Again - this works perfectly, thanks! 

Link to comment
12 minutes ago, iraklizv said:

Easier than expected 😄

Yup, this works perfectly, thanks!

I was trying to select "white-space:pre-wrap" as the main "section" by doing inspect element on the word. Apparently I didn't notice the div class above with the collection id code.

Again - this works perfectly, thanks! 

the id is for the page, text part is page description and title

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.