In shopify Debut Theme, I am trying to change the location of the button tag “shop now” on an image with text overlay at the bottom of my site home page.
A lot of themes will have built-in settings for the block, within the ‘customize theme’ section of the admin, for changing the positioning of the buttons.
If not, you’d want to add some custom CSS to the block via the ‘customize theme’ page (rather than directly to the theme’s coding – as that’ll change the button location for all of that kind of block, rather than just the 1 specific block you’re wanting to edit).
If you let us know which theme you’re using, you’ll be more likely to get a complete answer from me (or someone else) on the forums here.
You won’t be able to align JUST that one block in the way you’re wanting, as the text & buttons are wrapped in a div container that’s forced to be centered in the image with a CSS class. See below:
So even if you do apply some CSS, to make the button be bottom-aligned, it’s only going to be on the bottom of the red box from my screenshot.
You’d have to delete the “text-center” coding from the div class within the “hero__inner” div … from the block/section’s template, which would change how it works for all ‘text with overlay’ blocks/sections that you’re using on the site (not just this one block).
Debut is an old theme (they don’t even let you add this theme to your store anymore – it’s not listed on the Shopify theme store).