cyborg1234 Posted February 17, 2022 Share Posted February 17, 2022 Site URL: https://pear-beige-sfbj.squarespace.com/ I have created a 'News' page and an 'Events' page. On an event item, there is at the top of the page, a 'back to events' link with an arrow. I would like to replicate this on each News item, so that users can link back to my 'News' page from within the article. I would also like to change both the 'Back To News' and 'Back To Events' link colour to HEX#399. Please can anyone help me to achieve this? Website: https://pear-beige-sfbj.squarespace.com/ Website password: 'cyborgsoloists' Thank you Link to comment
tuanphan Posted February 21, 2022 Share Posted February 21, 2022 It looks like you solved color with this CSS .eventitem-backlink { color: #399 !important; } With link, add this to /Events/ Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.eventitem-backlink').attr('href','/news-2'); }); </script> 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
cyborg1234 Posted February 22, 2022 Author Share Posted February 22, 2022 On 2/21/2022 at 7:49 AM, tuanphan said: It looks like you solved color with this CSS .eventitem-backlink { color: #399 !important; } With link, add this to /Events/ Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('.eventitem-backlink').attr('href','/news-2'); }); </script> Unfortunately, this has not worked for me. Please could you let me know if I have added this incorrectly? Also, did you mean that I was to add this to /Events/Page Header or to /News/Page Header? I am trying to add the link to my news items. Thanks Link to comment
tuanphan Posted February 27, 2022 Share Posted February 27, 2022 On 2/22/2022 at 5:18 PM, cyborg1234 said: Unfortunately, this has not worked for me. Please could you let me know if I have added this incorrectly? Also, did you mean that I was to add this to /Events/Page Header or to /News/Page Header? I am trying to add the link to my news items. Thanks Add to event page (page where you create individual events) 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