Shopify themes, liquid, logos, and UX
Hello,
I was wondering how to change a few components on my collections page.
I want to get rid of the two arrows on used to browse product photos
Also change the product sale color from green to black.
Store URL : https://merciane.com/
Solved! Go to the solution
This is an accepted solution.
Yes, so please change the code like this
.product-item .carousel-controls {
display: none !important;
}
.product-item .product-item-price-final {
color: #000 !important;
}
@media (max-width: 749px) {
.product-item-price-compare {
color: #000 !important;
}
}
Hello @MotionStore111 ,
You can try to follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code
Go to Sections -> product-template.liquid file
Search for the code that renders the product photo gallery. It might look like this:
<div class="product-gallery">
<!-- Code for rendering the product photos goes here -->
</div>
Comment out the code for the navigation arrows. Like this:
{% comment %}
<button class="product-gallery__prev-arrow">Previous</button>
<button class="product-gallery__next-arrow">Next</button>
{% endcomment %}
To change the product price color:
Go to Assets folder -> base.css file -> add this following code at the bottom of page
.product-price {
color: black;
}
Save and preview
Hope this can help. Let us know if you need any further support.
Transcy
@Transcy
Hello,
I think I found the section you first mention, image below, not sure what to do with it.
I dont see the second seciton anywhere in the code
<button class="product-gallery__prev-arrow">Previous</button> <button class="product-gallery__next-arrow">Next</button>'
Also the product price color code does not change anything.
Any alternatives?
Hello @MotionStore111
Inside Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.product-item .carousel-controls {
display: none;
}
.product-item .product-item-price-final {
color: #000;
}
The result
Hello @ZenoPageBuilder
Try adding the code you instructed, looks like nothing changed.
Anything else we can try?
Thank you for letting me know. Please change the code to this instead
.product-item .carousel-controls {
display: none !important;
}
.product-item .product-item-price-final {
color: #000 !important;
}
Thank you so much Zeno
Sorry, I just realized the original price is shown as a white font in the mobile view, is there code to fix this too?
this is what it looks like:
This is an accepted solution.
Yes, so please change the code like this
.product-item .carousel-controls {
display: none !important;
}
.product-item .product-item-price-final {
color: #000 !important;
}
@media (max-width: 749px) {
.product-item-price-compare {
color: #000 !important;
}
}
Thank you, I appreciate your help
Hi!
To remove the arrows on your collections page, you’ll need to modify the theme’s JavaScript or CSS, disabling the image navigation code. To change the sale price color, go to Online Store > Themes > Customize > Theme settings > Colors and adjust the sale price color. Alternatively, you can modify the CSS directly. After making changes, test the page to ensure everything works as expected.
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