Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Locked Topic
[Solved]c_mark width problems
Topic Started: Dec 5 2007, 09:36 PM (1,158 Views)
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Quote:
 
.category h2,.topic h2,#portal h2 {
padding:5px;
text-align:left;
}

^ Just a little bit more than halfway through the CSS.
Offline Profile Goto Top
 
.MadX
Member Avatar
Member
[ * ]
that didn't do anything. You can do it if you register there and i'll make you a admin :)
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
You need to change the text-align to center, not left. Find the snippet of CSS I quoted and change the left to center.
Offline Profile Goto Top
 
.MadX
Member Avatar
Member
[ * ]
still doesn't work, it works everywhere but the index :(
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
You've still not changed the bit of CSS I pointed out.
Go to Edit Theme Apperance, click your cursor into the box containing the CSS and hit CTRL + F. A box will popup to search for text within the page (or it'll appear on the bottom of the scrfeen if you're using Firefox). Type .category h2, and it'll scroll to the area of the CSS where the snippet occurs. Change the 'text-align: left' to 'text-align: center'. Or simply remove the text-align from it altogether.
Offline Profile Goto Top
 
.MadX
Member Avatar
Member
[ * ]
this is what i already had:
Code:
 
.category h2,.topic h2,#portal h2,#portal_foot h2,thead th {
background: url(http://i5.ifrm.com/9524/96/upload/p95957.jpg);
color:#7d374b;
font-size:105%;
font-weight:700;
padding:5px;
text-align: center;
}


text-align: left; was never there. i already had text-align: center; there before you told me this.
Offline Profile Goto Top
 
Nicola
Darth Vader's Sewing Instructor
[ *  *  *  *  *  *  * ]
Yes but that's the near the top of the Style Sheet. Adding it there won't work for ALL the H2's, because of this further down the CSS:
Quote:
 
.category h2,.topic h2,#portal h2 {
padding:5px;
text-align:left;
}

It's set to text-align: left, which basically overrides the fact you've put text-align: center in the style sheet at the top. That snippet is already in the CSS.. so you need to locate it and change the 'left' to 'center'.
Offline Profile Goto Top
 
.MadX
Member Avatar
Member
[ * ]
oh thanks, that worked :)
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Theme & CSS Help · Next Topic »
Locked Topic