Site logo

Archived topic

Theme LH Consulting Prime - integrate the column height

9 replies · Started by Kin on July 11, 2020

Viewing posts 1–10 of 10

Dear Leo

After used your code to replace the default css, it seems working,
Did I make the correct setting?

Your code:
@media (min-width: 769px) {
.page .woocommerce ul.products.columns-4 {
display: flex;
}
}

Replaced default code:
@media (max-width: 768px) {
.inside-header>:not(:last-child):not(.main-navigation) {
margin-bottom: 0;
}
}

I found there is a lot of built-in CSS code under the below place
Appearance > Customize > "Additional CSS"

As you provided the CSS code, do I need just paste wherever place inside the "Additional CSS"?
https://generatepress.com/forums/topic/theme-lh-consulting-prime-integrate-the-column-height/#post-1361064

or do I need to replace the below code inside the "Additional CSS", it is because below code look like the similar stuff.

@media (max-width: 768px) {
.inside-header>:not(:last-child):not(.main-navigation) {
margin-bottom: 0;
}
}

Dear Leo

Thanks for your help,
I followed your instruction not remove any existing code and pasted the code you provided, it all fixed on desktop and ipad verison. Look exactly what I want.

Do you know how can I also fix this problem on the mobile version as well?
Thanks

Hi there,

try adding this CSS:

@media(max-width: 768px) {
    .woocommerce .products ul, .woocommerce ul.products {
        display: flex;
        flex-wrap: wrap;
    }
    .woocommerce ul.products li.product {
        margin-right: 10px;
    }
}
This archived topic is closed to new replies.