How to center the attributes shown on product page
-
Dear,
On my product page, I am showing the attribute “ISEO F6” on top of each product. I want to center this specific attribute. What’s the code for this?
And if I center it, wil it also impact other codes such as “New” / “Featured” ?
https://gevcen.be/serrurerie/cylindres/
Thanks
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
.labels-rectangular .product-label {
text-align: center;
min-width: 100%;
}
.labels-rectangular {
min-width: 100%;
}
Best Regards
Thanks, but as always you answer the first question and you miss the rest.
And if I center it, wil it also impact other codes such as “New” / “Featured” ?
And this code doesn’t really answer correctly to mypoint. I just want the labels to be shown in the center.
I do not want to change the width of the rectangles.
Attachments:
You must be
logged in to view attached files.
Hello,
Please remove the code I have provided. It is not possible to make one label without centering others.
Best Regards
The topic ‘How to center the attributes shown on product page’ is closed to new replies.