WordPress.org

Forums

Virtue
Images on Product Categories (5 posts)

  1. estrellitaar
    Member
    Posted 9 months ago #

    Hi! I cannot align my product categories into two lines and four columns. Could you please help?
    This is my site: http://www.georginacarraway.com/reports/

  2. janet4now
    still awesome :)
    Posted 9 months ago #

    .products .grid_item img {
    height: 200px;
    padding-bottom: 24px;
    }

    You can add that to your child theme's style.css file or custom.css. You'll have to test how it effects other views/pages and adjust height and padding to your design taste.

  3. estrellitaar
    Member
    Posted 9 months ago #

    Thank you! That worked! I just had to add the .page-id-number not to have the effect on other product pages.
    Thanks again for your help!

  4. estrellitaar
    Member
    Posted 9 months ago #

    I am sorry, I thought it did worked but it didn't. It is extrange the page id is not working and the code is changing my other pages styles. Could you please advice on how to apply the code just to this single page?

  5. janet4now
    still awesome :)
    Posted 9 months ago #

    There is no page in this case. You can try .post-type-archive-product or .post-type-archive. Not sure which will effect your other pages.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.