Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Text Spacing on Product Info Page

Text Spacing on Product Info Page

Locked

Views: 1,249

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Jan 2008, 10:51 PM
#1
kathsta avatar

kathsta

New Zenner

Join Date:
Nov 2006
Posts:
53
Plugin Contributions:
0

Text Spacing on Product Info Page

Hi - I've scoured the posts for an answer but can't find anything :(
In IE when a person views the Product Info for a product, the product name is on a line down from the top - so it's not inline with the top of the image on the left of the descritption. I've just checked the site in FireFox, and the Product name is completly in line with the top of the image. How can I set something to fix this glitch that IE is having?

www.naturalsoap.com.au

Thanks in advance!
Kathy :)

12 Jan 2008, 10:26 PM
#2
shackle avatar

shackle

Zen Follower

Join Date:
Apr 2006
Posts:
228
Plugin Contributions:
0

Re: Text Spacing on Product Info Page

It seems you removed the product titles?

I maybe able to help if you add it back, or maybe I'm confused about what your problem is.

14 Jan 2008, 2:19 AM
#3
kathsta avatar

kathsta

New Zenner

Join Date:
Nov 2006
Posts:
53
Plugin Contributions:
0

Re: Text Spacing on Product Info Page

Hi - that had been a pet peeve as well, the product name showing on the info page as well as in the breadcrumbs. I disabled it by canceling the code (using <!-- at the start and --> at the end) for showing product names in the tpl_product_info_display file;

<!--<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>-->

and then set the display height of the product price by adding and adjusting the following code to the stylesheet;

#productPrices{
float:left;
position:relative;
bottom:5px;
}

Problem solved in both IE and FireFox :clap:

Hope that helps someone else!

Cheers,
Kathy - https://www.naturalsoap.com.au

14 Jan 2008, 2:43 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Text Spacing on Product Info Page

The product name in the breadcrumbs is not all that prominent. It might help if the name was a bit larger than the rest of the trail.
Add this to your stylesheet and see how it reads:

#navBreadCrumb {font-size: 1.2em;}

#navBreadCrumb a {font-size: .8em;}

Merge this with your original #navBreadCrumb declaration if you like the effect.

There is still the matter of search engines liking the <h1> to give them useful information...

14 Jan 2008, 9:58 PM
#5
kathsta avatar

kathsta

New Zenner

Join Date:
Nov 2006
Posts:
53
Plugin Contributions:
0

Re: Text Spacing on Product Info Page

Hi Glenn,

That's a good point :) I've added that coding, and it definitely makes it stand out much more nicely.

I know what you mean about h1 info, however as I'm in the top three results, usually number one, in search engine results for the most popular search phrase for my (natural soap) it shouldn't impact my results I would think?

The h1 info is purely for product names yes?

Thanks again!
Kathy - https://www.naturalsoap.com.au