pdv2008 Posted September 21 Share Posted September 21 Good afternoon! Is it possible to change the text in this button, instead of READ MORE there should be the word PURCHASE, and so that when clicked it goes to the block - #purchase_block? https://turtle-broccoli-del8.squarespace.com/the-7-frequencies pass:12345 Link to comment
IXStudio Posted September 21 Share Posted September 21 Hi, Insert this code in your Footer Code Injection. <script> document.querySelector('#block-ddf6eeb937a4a332956a a.summary-read-more-link').innerText = 'Purchase'; </script> Please use the like button if it helps you! Best, Leopold pdv2008 1 Ninja Kit Extension: Upgrade your Squarespace website without coding.YouTube Preview - FREE DOWNLOAD Link to comment
pdv2008 Posted September 21 Author Share Posted September 21 42 minutes ago, IXStudio said: Hi, Insert this code in your Footer Code Injection. <script> document.querySelector('#block-ddf6eeb937a4a332956a a.summary-read-more-link').innerText = 'Purchase'; </script> Please use the like button if it helps you! Best, Leopold The button has changed its name, great. Can we make it so that when we click on it we go to the anchor link - #purchase_block? Link to comment
pdv2008 Posted September 22 Author Share Posted September 22 17 hours ago, IXStudio said: Hi, Insert this code in your Footer Code Injection. <script> document.querySelector('#block-ddf6eeb937a4a332956a a.summary-read-more-link').innerText = 'Purchase'; </script> Please use the like button if it helps you! Best, Leopold the text has changed, but if we select another button, the inscription will be again READ MORE the link to the site has changed https://seal-carnation-879a.squarespace.com/ pass:12345 Link to comment
pdv2008 Posted September 24 Author Share Posted September 24 On 9/21/2023 at 7:26 PM, IXStudio said: Hi, Insert this code in your Footer Code Injection. <script> document.querySelector('#block-ddf6eeb937a4a332956a a.summary-read-more-link').innerText = 'Purchase'; </script> Please use the like button if it helps you! Best, Leopold Hi, Can you help me? Link to comment
tuanphan Posted September 27 Share Posted September 27 Use this code to Website > Website Tools > Custom CSS /* Rename Read More to Purchase */ div#block-9717b7d736e702246290 { a.summary-read-more-link { font-size: 0 !important; } a.summary-read-more-link:before { content: "Purchase"; font-size: 18px !important; display: block; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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