Zen Cart Logo
Forums / Basic Configuration / how to edit this sidebox content width?

how to edit this sidebox content width?

Locked

Views: 1,713

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Jun 2008, 4:31 AM
#1
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

how to edit this sidebox content width?

I have this in my sidebox, but its too long i would like to be able to set the height to 160 the width is good how it is... the code is here:

<SCRIPT src="http://fpm.petfinder.com/js/fpmstyle.js"></SCRIPT>
    <SCRIPT src="http://fpm.petfinder.com/fp/petfeed.cgi?lang=json&callback=fpm&state=&shelter=&animal=&age=&ref=iSjUomffeHGERWj"></SCRIPT>   

thanks again!

11 Jun 2008, 5:18 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: how to edit this sidebox content width?

The information you have given has no way to be connected with a width or height.

The surrounding code with class and/or id tags, and a link to the site, would make it possible to give advice.

11 Jun 2008, 2:40 PM
#3
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: how to edit this sidebox content width?

is there a way to set the side box to a certain height and not go passed that height, i understand its from their website, but thats the code they gave to me , what i told them i wanted was that code on my site but for in the sidebox just the picture...

11 Jun 2008, 3:11 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: how to edit this sidebox content width?

You can set the sidebox to a fixed height, though if the image is bigger it will overflow the box.
What do those two script calls generate on your page? An image, multiple items, links, or? How big are they when displaying?

With a link to your site and a description of which sidebox you want these scripts in, I can tell you what to do to fix the size.

11 Jun 2008, 6:40 PM
#5
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: how to edit this sidebox content width?

https://www.pricedrite4u.com right side featured pet

11 Jun 2008, 7:08 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: how to edit this sidebox content width?

Add to your stylesheet```
#bannerbox2Content {height: 160px;}


This will make that box always 160px high. Put your script code in as the banner content and see how it looks.