Site logo

Archived topic

Prime child theme mobile grid

9 replies · Started by Terence on November 1, 2019

Viewing posts 1–10 of 10

I am using the Prime child theme and out of the box it places two products side by side when the home page is viewed from an iPhone, and this is not so when products are viewed on every other page or endpoint, so I really want then all to be one above the other.

How do I change that without affecting all the other locations and mobile grids for iPads etc.?

Terence.

Hi there,

Can you disable any caching plugins you might be using?

Let me know :)

OK that's both FastCGI and Redis disabled

Technically this should be answered by their support as their shortcodes and style are determining the mobile grid style but give this a shot:

@media only screen and (max-width: 768px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
        float: none;
    }
}

That seems to work perfectly Leo, although I have now caught site of something else going on, on that page. There appears to be a spinner at the top of the page which never stops, but as far as I know there is no reason for there to be one there,

Wow you're on the ball today Leo. Thanks I'll check it out.

No problem :)

The problem turned out to be the Pinterest plugin which was trying to place a Pinterest pin overlay over the slider images, no matter that I had specifically excluded them. The Pinterest plugin is gone now and so is the conflict with Soliloquy. Thanks for your support Leo.

No problem :)

This archived topic is closed to new replies.