Jump to content

Can I code h3 to be larger in just one area on the site?

Recommended Posts

Quote

Will it carry over if I just duplicate that one?

You can duplicate the ruleset or combine the block ids into one ruleset. Something like the following.

/* big names, uses LESS syntax */

#block-yui_3_17_2_1_1640025902714_6326, // tamara
[enter block id here], // [enter artist name here]

  {
  
    h3 {
    
      font-size : 200px;
      
      }
      
    }

Repeat the enter here line for as many artists as you need to enter.

Let us know how it goes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
Quote

I'm trying to use that code for this area to change the font (Adriana, Alexis, etc) AND the size but can not get it to work! Any ideas?

Different elements require different code. In this case you are looking at a gallery section not text blocks. I looked a little bit into this and SS is doing some pretty fancy font size calculations. They aren't using a single font-size value. They're doing calculations based on orientation ( landscape vs portrait ) and other factors.

I'm not able to dig into the issue at this time but perhaps one of the other regular contributors have something to add.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment
On 12/23/2021 at 9:27 PM, creedon said:

Different elements require different code. In this case you are looking at a gallery section not text blocks. I looked a little bit into this and SS is doing some pretty fancy font size calculations. They aren't using a single font-size value. They're doing calculations based on orientation ( landscape vs portrait ) and other factors.

I'm not able to dig into the issue at this time but perhaps one of the other regular contributors have something to add.

@tuanphan do you have any insight?

Link to comment

For artist section you can try adding to Home > Design > Custom Css

section[data-section-id="61a78b8dc3a7fe13f15588e5"] h3 {
  font-size: 40px !important;
}

Let me know how it works

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/24/2021 at 4:48 AM, ThisWayToFabulous said:

@creedon I'm trying to use that code for this area to change the font (Adriana, Alexis, etc) AND the size but can not get it to work! Any ideas?

Screen Shot 2021-12-23 at 3.47.40 PM.png

Use this CSS

/*  The magic behind artist names */
[data-section-id="61a3f20b4d0dd626ec6305de"] h2.list-item-content__title {
    font-size: 30px !important;
}

Use this tool to find data section id. 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 12/30/2021 at 12:04 AM, ThisWayToFabulous said:

@tuanphan im trying to use this code to force the "FREQUENTLY ASKED QUESTIONS" part to h4 settings but its not letting me?

Screen Shot 2021-12-29 at 11.03.52 AM.png

It is h2

/*FAQ questions */
[data-section-id="61c243eb91204074872a51e8"] h2 {
    font-size: 100px !important;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
17 hours ago, ThisWayToFabulous said:

@tuanphan to clarify, I'm only looking for the "FREQUENTLY ASKED QUESTIONS" section title to change. This code change the size of the question itself.1761123184_ScreenShot2022-01-01at10_05_29AM.thumb.png.ae3ff9d4e41453535ed73619e837775e.png

Use this code

/*FAQ title */
[data-section-id="61c243eb91204074872a51e8"] .list-section-title p {
    font-size: 50px;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.