Forums / Templates, Stylesheets, Page Layout / alignment of subcategory images - help!

alignment of subcategory images - help!

Locked

Started by hanafoo on 25 Jan 2007, 6:21 PM · Views: 1,518

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Jan 2007, 6:21 PM
#1
hanafoo avatar

hanafoo

New Zenner

Join Date:
Apr 2006
Posts:
23
Plugin Contributions:
0

alignment of subcategory images - help!

hello,

im trying to center align my subcategory images and remove a little peice of header text.
at the moment my page looks like this:

http://www.e-rose.org/current.jpg

i would like it to look like this:

http://www.e-rose.org/ideal.jpg

i just want to move the subcategory images over a little bit to the right so they are centered. can anyone help? :(

25 Jan 2007, 6:39 PM
#2
kobra avatar

kobra

Black Belt

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

Re: alignment of subcategory images - help!

Find this in your stylesheet.css for your template and separate or if not found add it:

#productListHeading {
        display: none;
        }

For the other post a url

Zen-Venom Get Bitten

25 Jan 2007, 6:52 PM
#3
hanafoo avatar

hanafoo

New Zenner

Join Date:
Apr 2006
Posts:
23
Plugin Contributions:
0

Re: alignment of subcategory images - help!

im a bit confused, does that bit of code help align the images? i want my subcategory images to be centered on the main page instead of off to the left.

25 Jan 2007, 6:56 PM
#4
kobra avatar

kobra

Black Belt

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

Re: alignment of subcategory images - help!

You asked 2 things:

and remove a little peice of header text.
the code takes care of this.

For the other post a url

Zen-Venom Get Bitten

25 Jan 2007, 7:15 PM
#5
hanafoo avatar

hanafoo

New Zenner

Join Date:
Apr 2006
Posts:
23
Plugin Contributions:
0

Re: alignment of subcategory images - help!

ok thank you :) the other thing i needed was help aligning my subcategory images.

on this page:
http://www.shelovesstars.com/shop/index.php?main_page=index&cPath=75

the two images/catergory links 'fabric badges' & 'lavender birdies' i would like moved over a bit so that they are in the center rather than off to the left

25 Jan 2007, 9:31 PM
#6
kobra avatar

kobra

Black Belt

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

Re: alignment of subcategory images - help!

Same file - stylesheet.css - find & separate or add this:

.categoryListBoxContents {
        text-align: center;
        }

Zen-Venom Get Bitten

25 Jan 2007, 10:03 PM
#7
hanafoo avatar

hanafoo

New Zenner

Join Date:
Apr 2006
Posts:
23
Plugin Contributions:
0

Re: alignment of subcategory images - help!

thanks so much, that seems to have done it :) its made my product descriptions centered too : http://www.shelovesstars.com/shop/index.php?main_page=index&cPath=71

could i change that back so the text is left aligned? i dont mind if its not possible now ive edited the code.

thanks again for your help!

26 Jan 2007, 4:42 PM
#8
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: alignment of subcategory images - help!

since you want the categories centered, but the new items listings to have their text aligned left, then try adding this in addition to what you've already done:

(don't take my word for it, I'm kinda new with the zen-cart stuff, but this is what worked in mine, when mine were all aligned left and I wanted em centered... lol... i just reversed it for your situation)

in addition to: ```
.categoryListBoxContents {
text-align: center;
}


try:

.centerBoxContentsSpecials, .centerBoxContentsFeatured, .centerBoxContentsNew {
text-align:left;
}


also, I would change in all your templates pages: (templates>template_default(or whichever one your using) >templates) from:
<br class="clearboth"/> ``` CHANGE TO ``` <div class="clearboth" /> ``` this will help with some funny layout in some browsers, but will not change the functionality of things. cleared up a lot of alignment issues I was having between different browsers ;)

give me feedback on my home decor store

sleep is a symptom of caffeine deprivation

COFFEE.SYS Not Found: User startup disabled.

~~ if(pot.coffee=EMPTY) {programmer->;brain=OFF}; ~~