Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-24-2012 09:08:39

bbac
Member
From: Bristol, UK
Registered: 08-25-2008
Posts: 141

Trying to remove empty whitespace on Product page

Hi Folks

I've looked through loads of code and can't work out what I need to change...

On my product page I have disabled reviews, social media links and pretty well everything else. This leave a 200px wide empty table column between the left hand sidebar and the product description, and I can't work out how to remove it. Please can someone give me a clue?

Code:

<div id="skin_content">
<h1 id="skin_pgtitle">(PRODUCT TITLE)</h1>
<div class="ecom_prodshow">
<table class="invisible">
<tr><td class="invisible" style="width: 200px; padding: 0px 20px 4px 0px;">   <<==== HOW DO I GET RID OF THIS?
</td>
<td class="invisible" style="padding: 0px 0px 4px 0px;">
<div class="proddetdesc">
PRODUCT DESCRIPTION<br /><br />
</div>

Offline

 

#2 08-24-2012 09:10:44

jj1987
Member
From: Orlando, FL
Registered: 07-14-2008
Posts: 502
Website

Re: Trying to remove empty whitespace on Product page

Can you link us to the site so we can see it in action?



-James Garrett

Offline

 

#3 08-24-2012 13:48:47

jj1987
Member
From: Orlando, FL
Registered: 07-14-2008
Posts: 502
Website

Re: Trying to remove empty whitespace on Product page

in skins/Desktop/css/all.css set "invisible" to width 0px instead of 200.



-James Garrett

Offline

 

#4 08-24-2012 17:11:51

bbac
Member
From: Bristol, UK
Registered: 08-25-2008
Posts: 141

Re: Trying to remove empty whitespace on Product page

Cheers James. Sadly that didn't work as explicit styles overwrite css.

Found it in the database, table ecom_proddetdisp

There's probably a proper way to edit this through the web interface but for now, Navicat to the rescue.

The 200px width comes from 'core_settings.ecom.imgsizeprodlg'

If there is no large image and the rest of the social media stuff is disabled, then the table column should not be printed. I've used code from prodshowimg.php lines 14-17 to check for a large image, and not print the column if there isn't one.

Onwards....

Offline

 

#5 08-26-2012 12:54:10

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Trying to remove empty whitespace on Product page

You'd edit that under Store | Displays | Product Detail Displays.


Nick Hendler

Offline

 

Board footer