kwerling Posted September 25, 2023 Posted September 25, 2023 (edited) I'm using the Flatiron template for my personal portfolio site: https://www.kwerling.com/ I'm currently working on the site, and would love to add a short disclaimer to the top of my homepage, above the grid of my featured projects. Is there a way to have the following copy appear on my page, below the topnav, but above the project grid? (With the "Please reach out to me directly" being a mailto link.). My homepage is an index page, so I'm having trouble figuring out how to add this. My portfolio site is under construction! In the meantime, please check out some of my past work below. Need recent work samples now? Please reach out to me directly. Edited September 25, 2023 by kwerling
DPruitt Posted September 25, 2023 Posted September 25, 2023 If you can run javascript you can use this probably: <script src="https://code.jquery.com/jquery-3.5.0.js"></script> <script> $('#grid') .before('<h3 class="kwportfolio">My portfolio site is under construction! In the meantime, please check out some of my past work below.<br>Need recent work samples now?<a href=mailto:karenlwerling@gmail.com>Please reach out to me directly.</a></h3>') </script>
kwerling Posted September 25, 2023 Author Posted September 25, 2023 3 hours ago, DPruitt said: If you can run javascript you can use this probably: <script src="https://code.jquery.com/jquery-3.5.0.js"></script> <script> $('#grid') .before('<h3 class="kwportfolio">My portfolio site is under construction! In the meantime, please check out some of my past work below.<br>Need recent work samples now?<a href=mailto:karenlwerling@gmail.com>Please reach out to me directly.</a></h3>') </script> Thank you! How do I add this? MARK AS SOLUTION
DPruitt Posted September 26, 2023 Posted September 26, 2023 You can inject this into the pages index header or main header injection area: https://kwerling.squarespace.com/config/website/pages/website-tools/code-injection
kwerling Posted September 26, 2023 Author Posted September 26, 2023 That's what I did, it didn't work. I ended up just using a cover page for now. Thanks for the assistance though. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment