Zen Cart Logo

Wrapping things up

Locked

Views: 1,455

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Nov 2007, 1:42 AM
#1
jon_tadeu avatar

jon_tadeu

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Wrapping things up

My fellow zencarters,

I have been trying to give the background for my text a color in the product listing pages. I have a pretty good understanding of CSS, but my PHP skill leave a lot to be disired :(

I have tried searching in vain for the "wrapper" for the center text in the product listing, and at this point, I'm assuming there is none. So I was wondering what I could do to add one.

Here is the URL for the page in question: http://mybabysblankie.com/index.php?main_page=product_info&products_id=2

Idealy, I would like to have a white background that would extend from below the toy-block buttons all the way to the line where it says "Model: Gone Fishing" on the bottom. If this was plain HTML with CSS I would know where to insert the DIV tags, but in PHP I have absolutely no clue.

Could anyone help me with this please?

12 Nov 2007, 5:12 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Wrapping things up

The center column display for that page is built in /includes/templates/your_template/templates/tpl_product_info_display.php. There are comments marking off the beginning and end of each element of the display. Add your wrapper div just before the first element you want to include and its closing </div> just after the last element.

12 Nov 2007, 5:35 AM
#3
jon_tadeu avatar

jon_tadeu

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Re: Wrapping things up

Thanks, gjh42.

I kind of started swallowed my PHPphobia and started checking out that file. I created a new id and style to go along with it and....:clap:
http://mybabysblankie.com/index.php?main_page=product_info&cPath=1&products_id=21

it's starting to take shape now.
I also realised that bof meant Beging of and eof meant End of. Maybe there is still some hope.