Forums / Templates, Stylesheets, Page Layout / Changing the size and centering of Category heading

Changing the size and centering of Category heading

Locked

Started by veronicathecow on 29 Jun 2009, 7:31 AM · Views: 1,100

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Jun 2009, 7:31 AM
#1
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Changing the size and centering of Category heading

Hi, I'm a newbie trying to change the size of all the category headers (The text saying which category you are currently in ) and also want to centre it. I am just altering the standard template at the moment and will do overides when I am more knowledgable.

My guess is I would change this file

/includes/templates/template_default/templates/tpl_index_product_list.php

and this line

Line #16 : <h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>

but I am not sure what to change it to.
Many thanks
Tony

29 Jun 2009, 12:10 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing the size and centering of Category heading

Probably better done in the stylesheet:

#indexCategoriesHeading
{
text-align:center;
font-size:XX%;
}

29 Jun 2009, 12:33 PM
#3
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Changing the size and centering of Category heading

stevesh Hi Steve, thanks for reply but it dosn't seem to be working. I tried a value of 200% and 400% and neither the font size or the position of the text changed.

Any other ideas appreciated.
Cheers
Tony

29 Jun 2009, 2:42 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing the size and centering of Category heading

OK, how about:

#productListHeading {
text-align:center;
font-size:200%;
}

1 Jul 2009, 6:12 AM
#5
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Changing the size and centering of Category heading

Hi stevesh that sorted it, many thanks for your time.
All the best
Tony