Centering products in Shop tab again
-
Hello again.
I know I’ve created this thread like 2 times already, but I have a problem again.
First time, I added the code below and it worked:
.woocommerce.tax-product_cat ul.products { justify-content: center !important; }
Then some time later, it stopped working. I got the solution, which was this code:
.woocommerce.tax-product_cat ul.products { justify-content: center !important; display: flex; }
It worked for some time, then it messed up the products, because they weren’t in columns anymore. They were are in 1 column. When that happened, I fixed it by removing the display: flex.
That worked for a while, but now I have the same issue again.
If I use the first code, it doesn’t do anything. If I use the second code, products are all messed up again.
Here you can see what it looks like with the first code. Here you can see, that the second code does in fact work, when there are less than 5 products. However, HERE you can see, what the second code does, when there are more than 5 products.
What can I do about this?
Kind regards
The page I need help with: [log in to see the link]
- The topic ‘Centering products in Shop tab again’ is closed to new replies.