• I’m building a new site using the Botiga theme – Liking it very much so far!

    I have run into an issue with alignment of pictures on the ‘Product Categories’ page:

    If I use the “Layout 5” together with “2 products per row”, the categories align in the center as I want them to. However, if I use any other layout option (e.g. Layout 1), then the pictures are not centered properly.

    How can I properly align the pictures? I use currently use dummy pictures of 1050×1260.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jverne,

    Glad to know you enjoy Botiga!

    Please try following my instructions below:

    1. Install this plugin: WP Code Snippets
    2. Create a new snippet with the above plugin and paste this code inside:

    function change_category_image_size( $size ) {
        return 'botiga-large';
    }
    add_filter( 'subcategory_archive_thumbnail_size', 'change_category_image_size' );
    

    Hope this helps!

    Kind Regards,

    Rodrigo.

    Thread Starter jverne

    (@jverne)

    It works – Thanks a lot!

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

The topic ‘Product categories alignment issue’ is closed to new replies.