Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / help with product_info template css

help with product_info template css

Locked

Views: 1,726

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
26 Aug 2006, 5:10 PM
#1
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

help with product_info template css

I have searched this forum for the answer but cannot find it.

Simply, all I want to do at first is position the image from left to right

I have put a div around the code trying to align it right but no change.
Basically if you take a look at this

http://www.woolyhats.com/anti-pilling-fleece-trapper-59-cms-p-184.html

I want the page to look more like this

http://www.woolyhats.com/hats/index.php?main_page=product_info&products_id=184

To do this with tables would be a piece of cake but how do I alter the layout in just css. I'm searching the stylesheets for div id's and bits but not finding a thing.

Do I just wrap stuff with my own custom divs and tack them onto the end of my stylesheet.

I have been customising the classic template

Thanks for any help

26 Aug 2006, 7:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with product_info template css

I can not tell what exact version of zen cart you are using but it is older and is table based. and can not be altered much in the css at least for placement.

Do it with tables, or upgrade

27 Aug 2006, 11:49 AM
#3
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: help with product_info template css

I am using version 1.3.0.2 on woolyhats.com

Woolyhats.com/hats/ uses an older 1.2 version but I would like the 1.3 site to look similar to the 1.2 with the way the product_info page is laid out.

Just knowing how to align the product image right would be a great help.

Thanks

27 Aug 2006, 4:15 PM
#4
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: help with product_info template css

If you only want to change the float of the pic look at the define for #productMainImage in your stylesheet.

1 Sep 2006, 8:48 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with product_info template css

Well I went to woolyhats.com and this is not even a Zencart page and the link to the shop takes one to http://woolyhats.com/hats/ and this is a table based ZenCart and not 1.3.0.2 or at least you have copied an old css file for this that is dated > $Id: stylesheet.css 290 2004-09-15 19:48:26Z wilt $ and a 1.3.0.2 is > @version $Id: stylesheet.css 3215 2006-03-20 06:05:55Z birdbrain $

and the source starts the script with```
</script>

</head><body id="index">
<table class="centershop" border="0" cellspacing="0" cellpadding="0">
  <tr><td>
    <table border="0" cellspacing="0" cellpadding="0" class="headerNavigation" align="center">
      <tr class="headerNavigation">
        <td align="left" valign="top" width="33%" class="headerNavigation">
          <a 
Definitely table based

Are we being directed to the correct site??
1 Sep 2006, 11:49 PM
#6
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: help with product_info template css

Sorry kobra I was playing with the site today and have moved things about a bit.

Old shop version 1.2 = https://www.woolyhats.com/hats/

New shop version 1.3.0.2 = https://www.woolyhats.com/catalog/

The addresses for these shops will change as soon as I get the new shop polished up and looking a tad more professional.

2 Sep 2006, 5:29 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with product_info template css

Looks like you have it moved...

Did you find this in the admin > config > all listing > Display Product Image 1102

And adjust this to a right display by 2102 ??

Might assist others if you post your fix.

4 Sep 2006, 9:41 PM
#8
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: help with product_info template css

No, I just changed the stylesheet define for the mainproductimage by adding

float: right;