Home Forums WoodMart support forum How to center the attributes shown on product page

How to center the attributes shown on product page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #113825

    Jeriss Cloud Center
    Participant

    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

    #113882

    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

    #113945

    Jeriss Cloud Center
    Participant

    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” ?

    #113949

    Jeriss Cloud Center
    Participant

    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.
    #113994

    Hello,

    Please remove the code I have provided. It is not possible to make one label without centering others.

    Best Regards

    #114631

    Jeriss Cloud Center
    Participant

    Point closed, thanks

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘How to center the attributes shown on product page’ is closed to new replies.