• Hi all

    I don’t know why I’m finding this so hard, I must have edited the CSS file so many times ??

    I want to centre the <h3> orange link text below the categories show on this page (and all others like it):

    https://www.coojewellers.com/product-category/jewellery/

    I’ve tried adding text-align: center; under

    ul.product,

    .woocommerce ul.products li.product a,

    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    	text-align:center !important;
    }

    etc. in the styles.css.

    Any help appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Vamsi

    (@mannemvamsi)

    Try adding text-align:center to its parent
    eg :

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        text-align: center;
    }
    Thread Starter mrflib

    (@mrflib)

    Thanks Vamsi, but I did try that:

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
    text-align: center !important;
    }

    No effect ??

    I thought that’s where it needed to go but it seems to totally ignore styles.css

    Vamsi

    (@mannemvamsi)

    But it didn’t apply at all.. Check the place where you are adding and also cache(if any)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Center Subcategoy Text on a Category Page’ is closed to new replies.