Shopify themes, liquid, logos, and UX
How to add some anchor links into a page in a Craft theme website? It's fine to create the anchors but then due to the header height the links take you too far down the page.
This advice online (https://community.shopify.com/c/shopify-design/can-i-link-a-button-to-a-specific-section-on-a-page/m...) suggests adding this into the CSS: a.anchor{display: block; position: relative; top: -250px; visibility: hidden;} but when I added the code into the Custom CSS it wouldn't save / said online store editor session can't be published.
Trying to create a 'contents' at top of an instructions page with links down to the different sections.
May I know do you follow the all steps that shared in the link?
If yes then could you please tell me which issue you are facing whilie Saving. If possible a ScreenShot can be helpful.
Thanks
Thanks for replying - above is a screenshot of where I was trying to add the custom CSS in the customize theme section.
Oh,
I think in your store there ie no class name by .anchor
Could you p/m me so that I provide you solution code.
Sorry I'm not sure how to p/m you on here...
You can see my w*tp here.
Sorry I'm not comfortable sharing access to our site over what's app. I'm sure it's all OK but I'm not permitted to give access to someone else externally. Thank you for trying to help
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025