[Support request] Woocommerce grid border

Home Forums Support [Support request] Woocommerce grid border

Home Forums Support Woocommerce grid border

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #268581
    Leon

    Hello! I was wondering If it’s possible to have the products showed with a border.
    I made a simple picture, to show what I want.

    Example Woocommerce picture with border

    Thanks Leon

    #268584
    Leo
    Staff
    Customer Support

    Hi Leon,

    Definitely possible. Able to provide a link to your site?

    #268591
    Leon

    Hi Leo,

    Def. this is the link: Ballon bedrukken.

    Thanks

    #268600
    Leo
    Staff
    Customer Support

    Try this CSS:

    .woocommerce ul.products li.product {
        border: 2px solid #000000;
        box-sizing: border-box;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #268616
    Leon

    Yes looking better. Can I also add a little padding at all sides? I hope I don’t have too many question.

    #268624
    Leo
    Staff
    Customer Support

    What about like this?

    .woocommerce ul.products {
        text-align: center;
    }

    Never too many questions – it helps me to learn 🙂

    Let me know.

    #268626
    Leo
    Staff
    Customer Support

    Could leave some space between the button and the border with this if you like:

    .woocommerce ul.products li.product .button {
        margin-bottom: 1em;
    }
    #268658
    Leon

    Works perfect. Very happy with the result.
    Last question, can I make the product title smaller? Only the product smaller.

    Very good work!!

    #268723
    Leo
    Staff
    Customer Support

    This should work:

    .woocommerce ul.products li.product h3 {
        font-size: 15px;
    }

    Let me know.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.