Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Huge fonts? all products 30a


Recommended Posts

Ok installed all products, seems to work fine except that the fonts on the all_products page are massive, can't seem to change it. I do use STS Templates as well, could that be the issue? Additionally images arent showing up - a nudge in the right direction would be greatly appreciated.

Edited by razorjack
Link to comment
Share on other sites

check the image properties and see what path osc is trying to get the images from. Also, view the html source of the page and see the 'class' that the text is and find out where that class is defined. Its probably stylesheet.css unless STS has some other method (I'm not familiar with how STS works).


I know this isn't an exact answer to your problem, but you need to start 'sniffing around' and debugging to find the problem and this is how to start.

Link to comment
Share on other sites

There is some evidence to believe that spiders consider H1 tags especially tasty. I addressed this by making the product names in my product pages H1 tags (with a suitable addition to the stylesheet) and dropped the H1 and H2 tags from all_products. My guess is that spiders would probably find a whole bunch of H1 tags on a single page to give them indigestion.


The idea here is that you want the spiders to easily find your category and product pages. You don't need H1 tags for that.

Link to comment
Share on other sites

In product_info.php, replace:

<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>


<td valign="top"><h1><?php echo $products_name; ?></h1></td>


You may want to find the similar line in index.php (the default one is

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

and change accordingly.


in stylesheet.css,


TD.pageHeading, DIV.pageHeading {


TD.pageHeading, DIV.pageHeading, H1 {


I then took all the H1s and H2s out of all_products.php.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...