creativeSZN Posted February 28, 2020 Posted February 28, 2020 Site URL: http://www.creativeszn.com/contact Anyone know why I cant change the font size to the placeholder text or the submit button? They were both working perfectly fine before. input.field-element::placeholder { color: grey !important; font-family: 'TEKO-LIGHT' !important; font-size: 25px !important; } .form-wrapper input[type="submit"] { font-family: 'TEKO-LIGHT'!important; font-size: 25px !important; padding-top: 4px; padding-bottom: 1px; padding-right: 10px; padding-left: 20px; }
paul2009 Posted February 28, 2020 Posted February 28, 2020 This week, Squarespace made changes to the underlying template used to render Form Blocks. These changes have improved accessibility but have resulted in changes to the HTML used to generate forms. This has affected code on hundreds of websites. You'll need to modify the CSS to match the new structure. As an example, you can change the button font size using: body:not(.button-style-default) .sqs-block-form .sqs-editable-button { font-size: 25px !important; } 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.
creativeSZN Posted February 28, 2020 Author Posted February 28, 2020 thank you so much! that works! although i still cant find the code needed to change the placeholder text. do you have any idea? @paul2009
tuanphan Posted February 28, 2020 Posted February 28, 2020 Try .field-element::placeholder 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!)
creativeSZN Posted February 28, 2020 Author Posted February 28, 2020 .field-element::placeholder { color: grey !important; font-family: 'TEKO-LIGHT' !important; font-size: 50px !important; } I tried it. You can change everything but the font-size @tuanphan
paul2009 Posted February 28, 2020 Posted February 28, 2020 .form-wrapper .field-list .field .field-element::placeholder { font-size: 25px!important; } 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.