Jump to content

Custom font on form checkbox

Recommended Posts

@tuanphan wondering if you can help with this image below. I have searched the web and tried everything to attack the descriptions next to the checkbox in the form block on our site. I have the custom fonts added in CSS already and its working on the rest of the form but this is the only section that i cannot target. 

 

168736428_ScreenShot2021-04-14at9_09_16PM.thumb.png.7e8e5d3a4a266e8cca197b3e243c85c2.png

Link to comment
  • Replies 7
  • Views 2.1k
  • Created
  • Last Reply
29 minutes ago, 2729 said:

https://www.twentyseventwentynine.com/brand-strategy 

pw: 2729

 

also, not sure if you know how to make the font in the drop down form the same font as everything else as well?

Add to Design > Custom CSS

/* I understand */
.option * {
    font-family: 'MargoSerif-Regular';
}
/* select */
.form-item.select * {
    font-family: 'MargoSerif-Regular';
}

 

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
On 4/20/2021 at 10:30 PM, tuanphan said:

/* select */ .form-item.select * { font-family: 'MargoSerif-Regular'; }

Thank you! 

So the first one worked, but the second made the asterisk bigger/changed the font. I am trying to target the actual text in that drop down (ie. the words Instagram, Facebook etc).  

Screen Shot 2021-04-22 at 8.47.36 PM.png

Link to comment
On 4/23/2021 at 7:48 AM, 2729 said:

Thank you! 

So the first one worked, but the second made the asterisk bigger/changed the font. I am trying to target the actual text in that drop down (ie. the words Instagram, Facebook etc).  

Screen Shot 2021-04-22 at 8.47.36 PM.png

Use this CSS

.select+div input::placeholder {
    font-family: 'MargoSerif-Regular' !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
On 4/24/2021 at 9:37 AM, tuanphan said:

.select+div input::placeholder { font-family: 'MargoSerif-Regular' !important; }

Thanks! this helped for the bottom version but not the actual drop down. see image below where it says instagram with the down arrow. Do you know how to target that drop down specifically?

Screen Shot 2021-04-27 at 9.10.26 PM.png

Link to comment
On 4/21/2021 at 9:30 AM, tuanphan said:

Add to Design > Custom CSS


/* I understand */
.option * {
    font-family: 'MargoSerif-Regular';
}
/* select */
.form-item.select * {
    font-family: 'MargoSerif-Regular';
}

 

use this + code I sent above

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.