PDA

View Full Version : How to get Forum Category Names Centered?


Birute
01-12-2010, 10:01 AM
The Forum Category Names are aligned to the left, how do I get them centered?

In the Style Manager, custom template, forumdisplay.css there is:

}

.forumbits .forumhead h2 span.forumtitle {
width: 76%;
text-indent: {vb:stylevar padding};
}

.forumbits .forumhead h2 span.forumlastpost {
width: 20%;
}

and

}

.forumbits .forumbit_nopost .forumhead span.forumtitle {
text-indent: 0;
}

Would I add somewhere vb: stylevar center?

Lynne
01-12-2010, 02:12 PM
Are you talking about the header where there is also "Last Post" in the box? If so, where do you plan for that text to go? An image here would help.

Birute
01-13-2010, 10:46 AM
The forum title section is a lot different than the 3.8.4 so this might be asking too much design-wise.

The 3.8.4:
https://vborg.vbsupport.ru/external/2010/01/88.jpg

The new 4.0.0:
https://vborg.vbsupport.ru/external/2010/01/89.jpg

Lynne
01-13-2010, 02:41 PM
Add to css template - additional:
#pagetitle {text-align:center}

Birute
01-14-2010, 12:12 AM
hmmm it didn't seem to have any effect and I did clear my cache.

Lynne
01-14-2010, 03:30 AM
This is what you are wanting, right? Because this is what that code does on my test site.
https://vborg.vbsupport.ru/attachment.php?attachmentid=109981&stc=1&d=1263446972