x

How to reduce padding in Product Page

Hi there,

I'm building an online-store, but I found excessive the Padding between the Product info and the "Long Description" (see image below, the area between red arrows is what I'm referring to). I can't use that area to put any information, nor can I reduce it to make the page more "compact".

I don't really know how to code... but know a few very basic tricks. So tried to get to the HTML code to fix it in the Product template itself, but there's no Padding option, or "Long Description" position, or any way to adjust the upper DIV height. Just references to other pages (images/sku/sharing/inventory/etc) that are not shown on the Code Editor.

I'd really appreciate someone can throw me a bone on how to reduce all that white area, so the "Long Description"  work area is closer to the Images and the "Add to Cart" button.

Thanks.

2,225 Views
Message 1 of 5
Report
1 Best Answer

Best Answer

If you've already edited your theme, add this to the bottom of main-style.css:

#wsite-com-product-info-inner {
	padding-bottom:0px !important;
}

Otherwise, you can add this to Settings > SEO > Header Code and you won't need to edit the theme:

<style>
	#wsite-com-product-info-inner {
		padding-bottom:0px !important;
	}
</style>

View Best Answer >

2,211 Views
Message 6 of 5
Report
4 REPLIES 4
Square

Hey @leboggia! Is your site live? If you post a link to it that'll help our Community members troubleshoot your CSS questions.

2,223 Views
Message 6 of 5
Report

2,220 Views
Message 6 of 5
Report

Best Answer

If you've already edited your theme, add this to the bottom of main-style.css:

#wsite-com-product-info-inner {
	padding-bottom:0px !important;
}

Otherwise, you can add this to Settings > SEO > Header Code and you won't need to edit the theme:

<style>
	#wsite-com-product-info-inner {
		padding-bottom:0px !important;
	}
</style>
2,212 Views
Message 6 of 5
Report

Settings > SEO > Header Code

<style>
	#wsite-com-product-info-inner {
		padding-bottom:0px !important;
	}
</style>

That just did the trick!

A quick screen capture for the people with the same issue:

 image

Thank you guys!!

2,205 Views
Message 6 of 5
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.