Horizonte Posted January 23, 2021 Posted January 23, 2021 Hi there, I need a code, so that I will have a link at the bottom of each project, which points to the main page. Atm there are only buttons which lead to the next or previous site. I could of course add a new section or a button in the footer. But this all doesn't look good. Is there a way to do this?
tuanphan Posted January 24, 2021 Posted January 24, 2021 Hi. Do you use Personal or Business Plan? If Business plan, can you share link to page in screenshot? We can use script code to achieve this. 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!)
Horizonte Posted January 24, 2021 Author Posted January 24, 2021 Hi tuanphan, I use the Business plan. Here is the link to my webpage. https://ulibortz.squarespace.com thx in advance
tuanphan Posted February 1, 2021 Posted February 1, 2021 On 1/24/2021 at 12:17 AM, Horizonte said: Hi tuanphan, I use the Business plan. Here is the link to my webpage. https://ulibortz.squarespace.com thx in advance Add to Project Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> jQuery(document).ready(function($) { $('<div class="sqs-block-button button-block"><div class="sqs-block-button-container--center"><a href="https://beaverhero.com" class="sqs-block-button-element--small sqs-block-button-element">BACK TO ALL PROJECTS</a></div></div>').insertAfter('.item-pagination[data-collection-type^="portfolio"]'); }); </script> 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!)
Horizonte Posted February 12, 2021 Author Posted February 12, 2021 Thank you tuanphan. Will try your solution, though I already found sth else.
Horizonte Posted February 13, 2021 Author Posted February 13, 2021 Hi tuanphan, doesn´t work. When I replace your URL with mine, I get a page not found. Also the frame dissapears. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> jQuery(document).ready(function($) { $('<div class="sqs-block-button button-block"><div class="sqs-block-button-container--center"><a href="https://ulibortz.squarespace.com/orte“ class="sqs-block-button-element--small sqs-block-button-element">BACK TO ALL PROJECTS</a></div></div>').insertAfter('.item-pagination[data-collection-type^="portfolio"]'); }); </script>
Horizonte Posted February 13, 2021 Author Posted February 13, 2021 P.S. Tried it again, now working. Maybe some mistake while copy/paste.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.