Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @coventrading,

    You can do this with a little bit of custom CSS code.

    Go into your site’s admin Dashboard and select Appearance → Customize → Additional CSS. In the CSS textbox on the left, add the following code:

    @media screen and (min-width: 768px) {
      .tax-product_cat ul.products {
        text-align: center;
      }
    
      .page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-4 li.product, .page-template-template-homepage-php .site-main ul.products.columns-4 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-4 li.product, .storefront-full-width-content .site-main ul.products.columns-4 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-4 li.product {
        display: inline-block;
        float: none;
      }
    }

    Select “Save Changes” from the top, and your changes will be applied to your site.

    Thread Starter coventrading

    (@coventrading)

    Latest storefront update has broken this…any other ideas ??

    @senff

    You can replace the code I gave you earlier with this instead:

    @media screen and (min-width: 768px) {
      .tax-product_cat ul.products {
        text-align: center;
      }
    
      .page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-4 li.product, .page-template-template-homepage-php .site-main ul.products.columns-4 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-4 li.product, .storefront-full-width-content .site-main ul.products.columns-4 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-4 li.product,.site-main ul.products li.product {
        display: inline-block;
        float: none;
      }
    }
    Thread Starter coventrading

    (@coventrading)

    You star thank you so much

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Center catagory images’ is closed to new replies.