Centre align for category pages - by Lily

This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Brian Johnson

  • Avatar: Lily
    Lily
    Participant
    December 9, 2015 at 11:20

    Hi,

    I have used this CSS

    .products-grid .product .product-name {
    height: 150px;
    text-align: center;

    }

    .products-grid .product .add-to-container{
    position: absolute;
    bottom: 0;
    text-align: center;

    }

    And now I have added ‘text-align: center;’ as I want the

    Product name
    Product price
    Click Here button

    To all be centre aligned.

    As you can see from example page, the product name is but the price and click here button is not.

    Can you help?

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Brian Johnson
    Brian Johnson
    Member
    December 9, 2015 at 11:36

    Hello

    Please add
    width: 100%;
    to .products-grid .product .add-to-container{}

    Regards,
    Brian Johnson

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.