Shopify themes, liquid, logos, and UX
Hi, I am using the Buy Button on this clients website and want to format how the collection displays on the page.
When creating the Buy button collection it seems you can change the color of the button, details & cart page but not the product display.
If you view the page https://vbdev.com.au/ssindustries/?view=article&id=325&catid=56 I would like a white background on each product with a 25px padding.
I am able to create the look using dev tools by adding the following CSS
.shopify-buy__product
{background-color: #ffffff; padding:25px;}
This issue is I cant find where to add it or where to modify it.
The attached file is what I am trying to acheive
Hope you can help
Thanks
Wayne
Hi @wayne_hines
You can attach this code within your buy button
<style>
.shopify-buy__product { background-color: #ffffff; padding:25px; }
</style>
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi @wayne_hines , you can add the following code in theme editor using custom css:
.shopify-buy__product + .shopify-buy__product {
margin-top: 0;
background: #fff;
padding: 25px;
}
Hi @Dan-From-Ryviu & @Abdosamer
Thank you for your quick replies. I had already tried that but have added it again and it does not make a difference.
Appreciate any other suggestions
Thanks
Wayne
Sample of code added
<style>
.shopify-buy__product + .shopify-buy__product {
margin-top: 0;
background: #fff;
padding: 25px;
}
</style>
<div id='collection-component-1699932266088'></div>
<script type="text/javascript">
/*<![CDATA[*/
(function () {
var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hi, Thanks again but I cant see any option to customise during the creation of the button. I have gone back and created a brand new button and cant see any way to do it. Any clues
Thanks
Wayne
Can you provide a screenshot of the theme editor when choose this section?
Thanks, here it is attached.
If there is another theme that has the option, please let me know. I can change themes as we are only using the Buy Button
Thanks Again!!!
Could you check is there any option to customize in Layout and Advanced settings?
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
I have looked in both areas and there is no options (have attached images). I also looked at 4 other sites taht I look after with different templates and they are all exactly the same.
Appreciate any other ideas
So please try add the code I provide to header file of platform that you are using
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thanks Again..
I have added the css into the website (Joomla) and it will not show through the Shopify Injection. Not sure if Shopify will block any external override, I even tried making the code !important. It is in there now if you want to have a look.
Im think that the overide or altered code will need to come from Shopify.
Hope there is a solution.
I hope so!
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024