Site logo

Archived topic

How to change Woocommerce Page Layout?

11 replies · Started by Sibi Paul on February 20, 2020

Viewing posts 1–12 of 12

Hello,

Kindly check my site URL.

the product image showing on the left side, and Product details appear at the back...

there is a lot of room white space below the image.

So,

I would like to show the image first, and product details after the image.

similar to the mobile version of this page.

in mobile, the Image appears top and product details bottom.

How can I change this Product page layout like that?

before I used the tagDiv Newspaper theme... there it showed like that.

How can I arrange a layout like that?

Hi there,

to stack all the elements like mobile add this CSS:

.woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
.woocommerce #content div.product div.summary {
    width: 100% !important;
    float: none;
    margin-right: 0;
    margin-left: 0;
}

That really worked.

How to disable the Image zoom effect?

Try this snippet:

function remove_image_zoom_support() {
    remove_theme_support( 'wc-product-gallery-zoom' );
    remove_theme_support( 'wc-product-gallery-lightbox' );
}
add_action( 'wp', 'remove_image_zoom_support', 100 );

This is not work

I added it in the CSS...

it should be in PHP?

kindly guide me how to add then...

I need detail steps to add this code in elements

Oh... Okay...

to Disable that Thumbnail Zoom Effect...

I've to follow this complicated method?

Actually I don't want to Install any 3rd party plugin for these simple things.

Let me know if there is some alternative method.

something can we do using the execute PHP option in elements?

It's not really complicated - just copy and paste.

Code snippets plugin should have very minimal effect for your site speed as it's just adding the code for you.

If you don't want to use that plugin, then use a child theme and add the code in function.php.

This archived topic is closed to new replies.