Jump to content

How to change font size and color in a specific banner of a specific page (Hayden template)?

Recommended Posts

Posted

My site: www.blueribbonarts.comI am trying to change the text "blue ribbon art academy" located in banner of the "intro" page. I tried some css codes but failed to identify the banner location. So far I tried:

intro p {

font-size:48px}

Unfortunately the code changed not only the banner font but also the whole page font. Can you please help?

  • Replies 11
  • Views 9.3k
  • Created
  • Last Reply
Posted

Hi @yimeng1988

Your code just needs to be a little more specific. At the moment it is targeting all the paragraph (p) text on the 'intro' page of the index.

You need to ensure that only the 'description wrapper' (the text on the banner image) is affected. Also, because there are several paragraphs in this, you need to limit the style to the first paragraph only.

Remove the CSS you've tried above, and try adding this instead to Design > Custom CSS:


#intro .desc-wrapper p:nth-of-type(1) {
   font-size: 48px;
   color: burlywood;
}


Paul


I post free answers because I want to help fellow Squarespace users - I'm not selling anything. In return please Accept an answer if it is correct. If it didn't help, feel free to ask for more help or wait for others to add their comments.

To everyone! If you find this (or any) answer helpful, please vote it up using the up arrow. This will let other users know it's a good answer. You'll find some more Squarespace tips on our website.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

No problem.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

Looks like the second paragraph did not work when I wrote below: #intro .desc-wrapper p:nth-of-type(1) { font-size: 48px; color: burlywood; } #intro .desc-wrapper p:nth-of-type(2) { font-size: 48px; color: burlywood; }

Posted

The second paragraph is bold (strong) so try this:


#intro .desc-wrapper p > strong {
    font-size: 60px;
}





Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Archived

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

Guest
This topic is now 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.