Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customize featured products listing on main page

Customize featured products listing on main page

Locked

Views: 1,737

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
7 Apr 2010, 12:09 AM
#1
spydersl avatar

spydersl

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Customize featured products listing on main page

Hey,

Skip to "my problem" below if you are short on time ;)

I am relatively new to ZenCart, however I have been learning quite a bit, and have extensively scoured the forums and wiki which has been so great at answering every question I have had up until now. I am working on a zencart store, here is what I have done thus far. --- And this is what I am working toward making it look like. (This is a 500KB PNG image of my layout, apologies for the size)

All things considered, I'm pretty proud of myself for being able to tackle every issue I've had, and this forum and its members have been instrumental at helping me get there, so thank you! (Aside from some alignment issues which I will take care of, and the footer which should be no problem.)

My problem:

I am completely stumped as to how to make the featured/new products look the way they do in my image, including the rounded corners behind the "Featured Products" heading. I've seen it done elsewhere, so I know it's possible. Which template file displays this listing?

Any help would be greatly appreciated! Thanks!

7 Apr 2010, 10:10 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Customize featured products listing on main page

I would think you would have to do the same thing you did for the sidebox headers. Rather than a thin slice that's repeated, create the image (with rounded corners) the width of the center column and specify it in the stylesheet.

BTW, in your Cart and New Product sideboxes, the text extends below the header image on hover.

7 Apr 2010, 7:21 PM
#3
spydersl avatar

spydersl

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: Customize featured products listing on main page

You're right, I don't know why I didn't think of that, thanks!

The text doesn't extend below the header image for me. What browser are you using? I've tried IE 6/7/8 and Firefox. Please don't tell me you're using Chrome!

Also, any idea on how to customize the grid of featured products? I know I only have one product up there, but it only shows the name and photo. If you know the php file that controls this, then I'd be able to figure it out.

Thanks for your help.

8 Apr 2010, 10:04 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Customize featured products listing on main page

Here's what it looks like in all browsers here when I hover over the sidebox heading:

http://www.stevesh.org/test/yellow.jpg

It's hard to see because it's yellow.

I don't know what you're asking about the Featured Products.

8 Apr 2010, 4:21 PM
#5
spydersl avatar

spydersl

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: Customize featured products listing on main page

Hmm that doesn't look right. Your font face and size are different. I'll have to set up some backups. I defaulted the font to Calibri (which is Microsoft's new "Arial"), and it looks like your browser is using the fallback (Verdana).

Sorry if I didn't explain myself properly re: the Featured Products section. I want it to look like what is shown in this image I created: http://www.ansiblemarketing.com/FullLayout-Ansible-040310.png ... Is that even possible?

8 Apr 2010, 4:37 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Customize featured products listing on main page

Must be a Windows 7 thing. I'm still using XP, so I don't have Calibri installed.

8 Apr 2010, 5:11 PM
#7
spydersl avatar

spydersl

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: Customize featured products listing on main page

I thought it was included in an automatic update, but I might be wrong. Regardless, I shouldn't be defaulting to it.

8 Apr 2010, 5:43 PM
#8
spydersl avatar

spydersl

New Zenner

Join Date:
Apr 2010
Posts:
8
Plugin Contributions:
0

Re: Customize featured products listing on main page

SpyderSL:

Sorry if I didn't explain myself properly re: the Featured Products section. I want it to look like what is shown in this image I created: http://www.ansiblemarketing.com/FullLayout-Ansible-040310.png ... Is that even possible? Can anyone help me with this?