GustavHornell Posted June 21, 2023 Share Posted June 21, 2023 On 4/20/2020 at 6:57 AM, tuanphan said: Add to Home > Design > Custom CSS .sqs-block-newsletter .newsletter-form-field-element { padding-top: 10px !important; padding-bottom: 10px !important; } button.newsletter-form-button.sqs-system-button { padding-top: 10px !important; padding-bottom: 10px !important; } You are a Legend! Thanks so much! tuanphan 1 Link to comment
BobInAustin Posted October 7, 2023 Share Posted October 7, 2023 (edited) As usual @tuanphan is a living breathing Squarespace God Human! Been helping me for years. In scrolling through this feed and seeing all the "Hey Tuan!!" Seriously. Dude needs a Buy Me A Coffee or tip jar page! My site is not live (so I cant share), only a holder. I normally use SquareKicker but cannot afford that right now. I used your very first code adjustment which helped reduce the overall size a lot (which has been whack for years on Squarespace). That code is: .sqs-block-newsletter .newsletter-form-field-element { padding-top: 10px !important; padding-bottom: 10px !important; } button.newsletter-form-button.sqs-system-button { padding-top: 10px !important; padding-bottom: 10px !important; } Please note the pic below. The red lines show that I want it to line up more with the copy above it. I will get back on Squarekicker, but I need a temporary fix to resolve this issue and get it closer by further reduce field height and width, field font size, and the the overall width. Any help would be appreciated, Tuan. Thanks as always. Edited October 7, 2023 by BobInAustin Link to comment
tuanphan Posted October 9, 2023 Share Posted October 9, 2023 On 10/7/2023 at 11:45 PM, BobInAustin said: As usual @tuanphan is a living breathing Squarespace God Human! Been helping me for years. In scrolling through this feed and seeing all the "Hey Tuan!!" Seriously. Dude needs a Buy Me A Coffee or tip jar page! My site is not live (so I cant share), only a holder. I normally use SquareKicker but cannot afford that right now. I used your very first code adjustment which helped reduce the overall size a lot (which has been whack for years on Squarespace). That code is: .sqs-block-newsletter .newsletter-form-field-element { padding-top: 10px !important; padding-bottom: 10px !important; } button.newsletter-form-button.sqs-system-button { padding-top: 10px !important; padding-bottom: 10px !important; } Please note the pic below. The red lines show that I want it to line up more with the copy above it. I will get back on Squarekicker, but I need a temporary fix to resolve this issue and get it closer by further reduce field height and width, field font size, and the the overall width. Any help would be appreciated, Tuan. Thanks as always. If you can share page url, we can help easier If the site is trial/unpublished, you can follow this guide to share url BobInAustin 1 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
BobInAustin Posted October 12, 2023 Share Posted October 12, 2023 Hey @tuanphan - I got it sorted. Thanks, as always, for your support. Link to comment
jmerrill Posted November 9, 2023 Share Posted November 9, 2023 @tuanphan I'm using the css you provided above to slim down the height of the newsletter input and button. Works great and it now looks like the image with the dark grey bg). I'd like to be able to close the gap between the input and the button so it looks more like the image with the beige bg. Appreciate your help! Link to comment
tuanphan Posted November 12, 2023 Share Posted November 12, 2023 On 11/9/2023 at 1:36 PM, jmerrill said: @tuanphan I'm using the css you provided above to slim down the height of the newsletter input and button. Works great and it now looks like the image with the dark grey bg). I'd like to be able to close the gap between the input and the button so it looks more like the image with the beige bg. Appreciate your help! Can you share link to page? I can check it again easier 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
jmerrill Posted December 2, 2023 Share Posted December 2, 2023 @tuanphan Sorry for the delay. Yes, you can view the site (see footer) here: URL: https://liftin.me/ PW: lifting Link to comment
Web_Solutions Posted December 2, 2023 Share Posted December 2, 2023 9 hours ago, jmerrill said: @tuanphan Sorry for the delay. Yes, you can view the site (see footer) here: URL: https://liftin.me/ PW: lifting Add these code on Custom CSS panel in Website > Utilities > Website Tools > Custom CSS. .fe-block-yui_3_17_2_1_1699493431125_40935 { .newsletter-form-body { display: flex !important; } .newsletter-form-field-wrapper, .newsletter-form-button-wrapper { padding: 0 !important; } .newsletter-form-button { border-radius: 0 !important; height: 100% !important; } .newsletter-block .newsletter-form-field-wrapper { min-width: 1px !important; } } tuanphan 1 If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks MD Rofik Website Designer and Digital Marketer ☕Am I helpful? Want to offer me a coffee? ✉ Send me a message if needed any help. I'll try to reply as soon as possible. Link to comment
jmerrill Posted December 2, 2023 Share Posted December 2, 2023 Thank you! @Web_Solutions This gives me the basics of what I'm looking for. I'd also like to achieve two things: 1. Have the newsletter (input and button) expand to the full width of the newsletter block. Right now it's fixed to a certain width no matter how far I expand the block. I'd like it to extend to the center of the screen. 2. Reduce the height of the input and button. Thanks for your help. Link to comment
praustralia Posted March 15 Share Posted March 15 Hi There, I am trying to use the code above however its not working. Can someone point me in the right direction? Link to comment
tuanphan Posted March 18 Share Posted March 18 On 3/15/2024 at 7:57 PM, praustralia said: Hi There, I am trying to use the code above however its not working. Can someone point me in the right direction? To add code to Code Block, you need to wrap code in style tag <style> paste your current code here </style> 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment