dotandpeg Posted September 6 Share Posted September 6 Hi, I am trying to customise the newsletter block in the footer of my site https://www.integral8.com/. I need help with the following: - Remove the right hand side and bottom padding of the newsletter block (see screengrab) - Remove the white keyline from around the 'subscribe' button on this block - Make the description text in the white boxes the dark grey of my site eg First name, Last name, Email address - Remove the thin grey keyline from around the white boxes Thanks Laura Link to comment
dotandpeg Posted September 6 Author Share Posted September 6 - one last thing, make the font size of 'subscribe' paragraph 3 Link to comment
Solution Lesum Posted September 6 Solution Share Posted September 6 (edited) Hi @dotandpeg To remove the right and bottom padding, you can add this code snippet: .newsletter-block .newsletter-form-fields-wrapper { width: 100% !important; } .newsletter-block .newsletter-form-wrapper--layoutStack .newsletter-form-name-fieldset { max-width: none !important; } .newsletter-block .newsletter-form-wrapper--layoutStack .newsletter-form-field-wrapper { max-width: none !important; } .sqs-block-newsletter .newsletter-form-footnote { display: none !important; } .newsletter-block .newsletter-form-body { padding: 0 0 0rem 0 !important; } To remove the outline around the subscribe button, you can add this code snippet: button.newsletter-form-button { border: none !important; } To change the font-size of the subscribe button, you can add this code: span.newsletter-form-button-label { font-size: 0.9rem !important; } To change the color of the description text in the white boxes (input placeholder), you can add this code snippet: .newsletter-form-field-element::placeholder { color: #636363 !important; } To remove the outline around the white boxes, you can add this code snippet: .sqs-block-newsletter .newsletter-form-field-element { border: none !important; } Let me know how it goes. Thanks! Edited September 6 by Lesum dotandpeg 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
dotandpeg Posted September 7 Author Share Posted September 7 Thanks @Lesum, I've tried those things and they didn't work. I have updated the design slightly so am looking to remove the padding/margin at the top and bottom. Link to comment
Lesum Posted September 7 Share Posted September 7 @dotandpeg Not sure how or where you added the code. I don't see the code being applied to your site. It should have worked. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Lesum Posted September 7 Share Posted September 7 (edited) @dotandpeg Did you add the code under Custom CSS panel? Can you maybe share a screenshot where you added the code? Edited September 7 by Lesum If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
dotandpeg Posted September 7 Author Share Posted September 7 Hi @Lesum, It's all added now! It's nearly there, but I just have a gap above the newsletter form fields, how do I remove those? (see screengrab) Also how do I isolate the shop now button in the footer to remove the white line around and reduce the text size? Thanks so much! Link to comment
Lesum Posted September 7 Share Posted September 7 @dotandpeg Add this code to modify the Shop button: footer .sqs-block-button-element { border: none !important; font-size: 0.9rem !important; } To remove the top spacing, add this code snippet: .newsletter-block.newsletter-form-has-small-container .newsletter-form-header { display: none !important; } .newsletter-block .newsletter-form-fields-wrapper { margin: 0rem 0 0 0 !important; } dotandpeg 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
dotandpeg Posted September 7 Author Share Posted September 7 @Lesum The shop button has worked perfectly but the newsletter still has the top gap Link to comment
Lesum Posted September 7 Share Posted September 7 @dotandpeg I'm not seeing the added code to remove the top spacing. It's the second block of code from my last comment. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
dotandpeg Posted September 7 Author Share Posted September 7 Sorry, it's worked. My CSS keeps not updating unless I logout and in again for some reason! Thanks very much for your help. Lesum 1 Link to comment
dotandpeg Posted September 11 Author Share Posted September 11 Hi @Lesum, I am just working on my site again and the gap at the top of the newsletter block is still there. I've checked and the CSS is there, can you help? Thanks Link to comment
catalienne Posted September 11 Share Posted September 11 @Lesum do you by any chance have code for even spaced padding for newsletter section between the input boxes first name, last name, email and sing up buttons for example? Link to comment
Lesum Posted September 11 Share Posted September 11 @dotandpeg I'm not seeing this block of code being applied to your site: .newsletter-block .newsletter-form-header { display: none !important; } This should remove the top gap. dotandpeg 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Lesum Posted September 11 Share Posted September 11 33 minutes ago, catalienne said: @Lesum do you by any chance have code for even spaced padding for newsletter section between the input boxes first name, last name, email and sing up buttons for example? @catalienne You can try this code snippet: .newsletter-block .newsletter-form-button-wrapper { margin: 0rem 0 0 0 !important; } catalienne 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
catalienne Posted September 12 Share Posted September 12 (edited) thank you @Lesum nothing seems to budge, the padding stays the same between the first name last name email and signup buttons Edited September 12 by catalienne 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