Forums / Templates, Stylesheets, Page Layout / categoryIcon....how do I change to center align?

categoryIcon....how do I change to center align?

Locked

Views: 1,261

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Mar 2008, 7:50 PM
#1
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

categoryIcon....how do I change to center align?

OK...I thought I had everything figured out but......
I need to center my categoryIcon image. It seems to be in my /template_default/templates/tpl_modules_category_icon_display.php but can't change anything there.

I also tried adding

#categoryIcon {
align: center;
{

in my stylesheet but it didn't do anything.

Am I missing something?

G

http://monumentsplus.com/zen-cart

10 Mar 2008, 7:55 PM
#2
kobra avatar

kobra

Black Belt

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

Re: categoryIcon....how do I change to center align?

You did not provide a link to the page in question so I had to guess - but if I guessed correctly then find and edit this in your style sheet so that you end up with this:

#categoryImgListing {
        text-align: center;
        }

Zen-Venom Get Bitten

10 Mar 2008, 8:45 PM
#4
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: categoryIcon....how do I change to center align?

Also, It is the image I want to center. I have managed to get the text centered.

10 Mar 2008, 9:03 PM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: categoryIcon....how do I change to center align?

GraniteMan44:

Also, It is the image I want to center. I have managed to get the text centered.

See my answer in your other post.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.