Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Centering The Whole Board
Topic Started: May 6 2011, 10:57 AM (1,474 Views)
Nabeela
Member
[ *  * ]
Is I would like to center all of the words and what not on my board.

Please and thank you..
Offline Profile Quote Post Goto Top
 
Nimor-ZNS
Member Avatar
Someone that you don't know
[ *  *  * ]
I don't know if this is what you want, but:

In this snippet of the appearance of the theme you want the content centered, add:

Admin CP/Themes/Theme appearance:

Code:
 
html,body {
background:#5a70b3;
color:#000;
font-family:"Helvetica", "Arial", "Bitstream Vera Sans", "Verdana", sans-serif;
font-size:93.3%;
margin:0;
padding:0;
}


Add this:

Code:
 
text-align: center;


That only aligns the text, though.
Edited by Nimor-ZNS, May 6 2011, 11:19 AM.
Offline Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
I did that and not all of the text has went to the center.
I want the text centered all the way with the category titles as well.
I would like everything in the board statistics in centered as well
I want it to be like that on all my skins I have on my board.

I'm using the skin Dressed To A Tea on my board.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

For Milkshake theme, add this to you CSS:

Code:
 
#stats, h2 {
text-align: center !important;
}


For all other themes (these all have a 3-part H2) add:

Code:
 
#stats, .h2center {
text-align: center !important;
}


That will center the category titles and the stats area.


Online Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
Thank you so much Helena. :)

What about centering the topic names as well?
In some of the skins I am using does that but in the Dressed To A Tea they are off to the left.
I would like it centered if possible.
Edited by Nabeela, May 7 2011, 08:11 AM.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

find .row1 td, .row2td in your CSS and

change text-align: left;
to:

Code:
 
.row1 td, .row2 td {background:url(http://z4.ifrm.com/30053/98/0/p1043284/gradient1.png) repeat-x top #b8b988;
font-family:"Helvetica", "Arial", "Bitstream Vera Sans", "Verdana", sans-serif;
font-size: 13px;
text-align: center;
}


that will center everything in the forum table.

If you just want to center the titles and nothing else, add this to your CSS instead:

Code:
 
.c_cat-title { text-align: center; }
Online Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
Thanks again for your help. :)

Is there something I can add to center the who's online *I do have the names* but want the
1 user online in the past 10 minutes (1 member · 0 Guests · 0 Anonymous) centered as well. Same with the words Important Dates.

Thanks again for ya'lls help. :)
Edited by Nabeela, May 7 2011, 06:46 PM.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

You're very welcome. :)

To center the text in the stats area, add this line to your CSS:

Code:
 
#stats th {
text-align: center;
}
Online Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
Thanks again for all of your help with this. :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply