Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Featured items or Special Items REFUSE to display on main / home page

Featured items or Special Items REFUSE to display on main / home page

Locked

Started by masmat on 13 Aug 2010, 5:26 AM · Views: 3,474

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
13 Aug 2010, 4:31 PM
#21
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Featured items or Special Items REFUSE to display on main / home page

Let us know what you discover ... this is a bit weird ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

13 Aug 2010, 5:29 PM
#22
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Featured items or Special Items REFUSE to display on main / home page

If your image sizes are currently set to those defaults, the defaults aren't being used by Zen Cart, suggesting that somebody has hacked the code to change them to be width = 53 for the new products and width=42 for the featured.

The reason that the new images are showing larger than that is because of this little piece of CSS lurking at around line 1000 of your stylesheet

.centerBoxContentsNew img{
width:135px;
height:auto;
}which them makes them bigger again.

Ajeh's right about the need to optimise your image file sizes too. They're huge and slow to load even on a faster internet connection.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)