Forums / Templates, Stylesheets, Page Layout / I looked everywhere in my stylesheet and can't find it

I looked everywhere in my stylesheet and can't find it

Locked

Started by graniteman44 on 9 Mar 2008, 7:22 AM · Views: 3,122

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
9 Mar 2008, 7:22 AM
#1
graniteman44 avatar

graniteman44

Zen Follower

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

I looked everywhere in my stylesheet and can't find it

I used the web developer and came up with #indexCatagoryHeading ID to center my category and sub category headings, but I can not find #indexCatagoryHeading
anywhere in my CSS. I did find it in the templates/template_default/templates/tpl_index_categories.php file. I can't see anywhere there that will allow me to change it to center the text. Please help.

G

9 Mar 2008, 7:36 AM
#2
clydejones avatar

clydejones

Deceased

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

Re: I looked everywhere in my stylesheet and can't find it

GraniteMan44:

I used the web developer and came up with #indexCatagoryHeading ID to center my category and sub category headings, but I can not find #indexCatagoryHeading
anywhere in my CSS. I did find it in the templates/template_default/templates/tpl_index_categories.php file. I can't see anywhere there that will allow me to change it to center the text. Please help.

G

Just add the following to your stylesheet.css

#indexCatagoryHeading {
text-align: center;
}

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

10 Mar 2008, 2:16 PM
#3
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

I added the

#indexCatagoryHeading {
text-align: center;
}

to my stylesheet but it didn't change anything. Is there a particular place within the style sheet or something else I need to add?

G

10 Mar 2008, 2:23 PM
#4
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

Here is the website if you need to look at it at all. Thank you.

http://monumentsplus.com/zen-cart/

G

10 Mar 2008, 3:14 PM
#5
clydejones avatar

clydejones

Deceased

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

Re: I looked everywhere in my stylesheet and can't find it

GraniteMan44:

Here is the website if you need to look at it at all. Thank you.

http://monumentsplus.com/zen-cart/

G

try this instead. You can place it at the very end of the stylesheet.css

#indexCategoriesHeading {
text-align: center;
}

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

10 Mar 2008, 3:23 PM
#6
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

Awesome....that works. That will help me deal with the other things I need to center as well. Thank you very much.

G

10 Mar 2008, 3:55 PM
#7
clydejones avatar

clydejones

Deceased

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

Re: I looked everywhere in my stylesheet and can't find it

GraniteMan44:

Awesome....that works. That will help me deal with the other things I need to center as well. Thank you very much.

G

Glad to help

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

10 Mar 2008, 7:09 PM
#8
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

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

10 Mar 2008, 9:00 PM
#9
clydejones avatar

clydejones

Deceased

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

Re: I looked everywhere in my stylesheet and can't find it

GraniteMan44:

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

The alignment is already set in:
includes/modules/category_icon_display.php

You'll need to change your settings in:

admin -> configuration -> product info -> Previous Next - Navigation Includes Category Position

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

11 Mar 2008, 2:16 AM
#10
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

I tried that, but it didn't seem to affect it.

Here is the link to one of the pages that I want the category image centered:

http://monumentsplus.com/zen-cart/index.php?main_page=index&cPath=1

Thank you.

G

11 Mar 2008, 2:41 AM
#11
clydejones avatar

clydejones

Deceased

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

Re: I looked everywhere in my stylesheet and can't find it

GraniteMan44:

I tried that, but it didn't seem to affect it.

Here is the link to one of the pages that I want the category image centered:

http://monumentsplus.com/zen-cart/index.php?main_page=index&cPath=1

Thank you.

G

add this to your stylesheet.css

#categoryImgListing {
text-align: center;
}

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

11 Mar 2008, 3:13 AM
#12
graniteman44 avatar

graniteman44

Zen Follower

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

Re: I looked everywhere in my stylesheet and can't find it

Cool.....that did it. Thank you so much. :clap: