Site logo

Archived topic

Woocommerce Widget styling

3 replies · Started by Kim on August 13, 2019

Viewing posts 1–4 of 4

Hi, I've some questions concerning the styling of the widgets in woocommerce:

1. Category widget: The hierachie of subcategories in the category widget is not really visible. Is it possible to style this differently?

Category widget in GP
Category widget alternative

2. Product widgets: How can I increase the size of the product images in product widgets? Would it also be possible to move the images to the left? How can I add some line between the single lines

Product widget GP
Product widget alternative

Best regards
Maike

Hi David,

many thanks.

Please have a look at this site: Shop Example.

BR Maike

Try this CSS:

.widget_recently_viewed_products li,
.widget_recently_viewed_products li a,
.widget_products li,
.widget_products li a {
    display: grid !important;
    grid-template-columns: 60px auto;
    grid-gap: 5px;
}

.widget.widget_recently_viewed_products li a,
.widget_products li a {
    grid-column: 1 / -1;
}

.widget_recently_viewed_products span,
.widget_recently_viewed_products div,
.widget_products span,
.widget_products div {
    grid-column: 2;
}

.widget.widget_recently_viewed_products li a img,
.widget_products li a img {
    width: 50px !important;
}
This archived topic is closed to new replies.