Forums / General Questions / Please help!! text for subcategories not centred

Please help!! text for subcategories not centred

Locked

Views: 1,833

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Jul 2008, 10:50 PM
#1
satguy avatar

satguy

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

Please help!! text for subcategories not centred

Im just a noob trying to learn as i go.
can someone please help me centre the text under the sabcategorie images. At the moment the text is left justified and stuck to the left. My website is this:
http://stroigiraf.ru/index.php?main_page=index&cPath=1
as you can see the text under the 3 doors is left justified. i need this to be in the middle. What file do i have to look at in order to achieve this?

thank you

31 Jul 2008, 2:18 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Please help!! text for subcategories not centred

Your stylesheet.css file

take this

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left;
        }

Separate out .categoryListBoxContents and it should resemble this:

#logo, .centerBoxContents, .specialsListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
        float: left;
        }
.categoryListBoxContents {
        text-align: center;
        }

Zen-Venom Get Bitten

31 Jul 2008, 9:42 AM
#3
satguy avatar

satguy

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

Re: Please help!! text for subcategories not centred

thank you cobra i really appreciate your help. What you said to do worked but now the pictures are also centred and they seem to be on top of one another now instead of next to each other. have a look at the page again and you will see what i mean.

how would i go about fixing this?

thanks

31 Jul 2008, 10:15 AM
#4
satguy avatar

satguy

New Zenner

Join Date:
Jun 2008
Posts:
18
Plugin Contributions:
0

Re: Please help!! text for subcategories not centred

never mind i fixed it by adding float left as the original to your code and all is good now. thank you again for your help as i had no idea which file i had to edit for these changes.