WR-Mike Posted October 26, 2023 Share Posted October 26, 2023 I need to change the CTA button background colour on the two forms that appear on this page. I did have some code previously provided for this but I have since jigged the page around following feedback. https://wrpartners.co.uk/complete-outsourced-payroll-services The Log in CTA in the header and Subscribe CTA in the footer must stay in their original black colour - so only the CTA's on the two forms are to change (Request a Free Consultation). The colour is to change to #41986C Link to comment
JayVanDyke Posted October 26, 2023 Share Posted October 26, 2023 See if this works #collection-648c4211e872940647bd16de .sqs-block-form .button.sqs-button-element--primary { background-color: #41986C !important; } ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
WR-Mike Posted October 26, 2023 Author Share Posted October 26, 2023 (edited) Thanks @jaeveedee but this didn't seem to work sorry. Edited October 26, 2023 by WR-Mike Link to comment
JayVanDyke Posted October 26, 2023 Share Posted October 26, 2023 @WR-Mike can you leave the code in there? I'll be able to check it out and see why its not working. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
WR-Mike Posted November 2, 2023 Author Share Posted November 2, 2023 Hi @jaeveedee Sorry for late reply, i've been away. The code had been left in (and is still there), see attached. Link to comment
JayVanDyke Posted November 2, 2023 Share Posted November 2, 2023 @WR-Mike that needs to go in custom css or you need to be <style> before it and then </style> after it, it can't just be pasted in the page header code injection without html tags. Better to put it in Custom CSS though so it's easier to track down. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
WR-Mike Posted November 6, 2023 Author Share Posted November 6, 2023 Thanks @jaeveedee that has worked. Could you also help with the same on this page below. All future pages I create can be duplicated from the below page so we wouldn't need to do this again. https://wrpartners.co.uk/expert-local-accountants-in-newtown Link to comment
JayVanDyke Posted November 6, 2023 Share Posted November 6, 2023 @WR-Mike do you want every single form block on your site to have that color button? If so you might be able to just remove the #collection part before that .sqs-block-form to make it work on every page. Try that first and if not we can add more selectors to make it more specific. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 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