Image under buy button in cart drawer focal theme

Hello community,

I’m using the focal theme. I want to add an image under the buy button in der cart drawer. I’ve seen it at some stores which are also using the focal theme.

Can anyone help?

Store URL: https://leyah.de/products/5-in-1-haarstyler

Greetings.

Hello, hope you’re doing great

To add an image under the buy button in the cart drawer of your Shopify store using the Focal theme, you’ll likely need to make some custom code modifications. Here’s a general guide on how to approach this:

Access Your Theme Code:

Log in to your Shopify admin dashboard.
Navigate to “Online Store” and click on “Themes.”
Find your Focal theme and click on the “Actions” dropdown, then select “Edit code.”
Locate the Cart Drawer Code:

In the theme code editor, you’ll need to find the file or section responsible for rendering the cart drawer. Typically, this will be in a file like cart.liquid, cart-template.liquid, or a similar name, located in the “Sections” or “Templates” folder.
Add an Image Tag:

Within the cart drawer code, you’ll need to add an HTML tag to display the image under the buy button. You can use the tag like this:
html
Copy code
Image Description
Replace “URL_TO_YOUR_IMAGE” with the actual URL of the image you want to display.

Position the Image:

You might need to adjust the CSS styles to position the image correctly under the buy button. You can use CSS properties like position, margin, and padding to control the placement.
Test and Debug:

Save your changes and test your cart drawer to ensure the image displays correctly and doesn’t break the layout or functionality.
Customization Assistance:

If you are not comfortable making these code modifications yourself, or if you encounter any issues, it’s a good idea to reach out to a Shopify expert or a developer who is experienced with the Focal theme. They can provide you with more specific guidance and ensure your customizations work seamlessly with your theme.
Backup Your Theme:

Before making any code changes, it’s essential to create a backup of your theme. This way, you can revert to the original state if anything goes wrong during the customization process.
Remember that theme code and customization can vary depending on the specific version of the Focal theme you are using, so consult the theme’s documentation or contact the theme developer if you encounter any difficulties specific to your setup.

Hi @LeyDE

This is David at SalesHunterThemes.

In this case, try to find in theme settings, if it not support for that, you can contact theme supporter, they will support for you add the function as you want.