Image with text button issues ( Shopify Dawn Theme )

Topic summary

Issue: In Shopify’s Dawn theme, a user wants the “Shop Now” button in an Image with text section to scroll up to a specific part of the product page (like the top or variants), similar to a reference site.

Proposed solution:

  • Link the button to the target element’s ID using an anchor (e.g., #product-variants). If no fixed ID exists, add one in the target section template (e.g., edit sections/multirow.liquid).
  • For immediate options, set the button link to # to jump to the top, or use #MainContent if present.
  • Enable smooth scrolling by adding CSS: in Online store → Themes → Edit code → assets/base.css, append: html { scroll-behavior: smooth; }

Outcome: The user confirmed it works after applying the guidance.

Notes:

  • Reference used: bleame.com example (#product-variants).
  • Screenshots were provided but not essential to the fix.

Status: Resolved with clear implementation steps for multiple products via anchor links and a global smooth-scroll CSS.

Summarized with AI on December 16. AI used: gpt-5.

Hello Everyone!

I am using the Shopify Dawn theme. I have added image with text section to a product. I want the “Shop Now” button to scroll up when I click on it. I want to keep it like this in multiple products. Is it possible? Please help me. Thank you very much.

Store: https://puppies-paws-shop.myshopify.com/products/dog-leash-1-2m-1-5m-2m-3m-strong-nylon-reflective-leash

Password: Admin

Reference website: https://bleame.com/products/crystal-hair-eraser#product-variants

Please click on Claim Offer.

Hi @dreamtechzone_5 , set the button link to the ID of the element you want to scroll to. In the Bleame example this is “#product-variants”. To add a smooth scrolling effect, use CSS scroll-behavior: smooth; on the HTML element for example.

1 Like

Thank you very much. It would be very helpful if you could tell me how to use the code. Please give me the code and where should I paste it.

Go to Online store → Themes → Three dots left of Customize → Edit Code → assets folder → base.css and add the following at the bottom of the file

html {
  scroll-behavior: smooth;
}

and save the file.

In the theme editor, select your button. Set the Button link to # (this will make it go to the top of the page, if you want to scroll to a specific element, edit sections/multirow.liquid and add an ID to the element you want to scroll to and set the Button link to #ID). Save the changes. Test your page.

Webstablish_0-1729973617131.png

1 Like

From admin section change the URL and add Id of the element to which you want to scroll, since I do not see fixed ID in your theme, you can add #MainContent in button.

1 Like

Really you are Great. It worked. Thank you very much.

1 Like