How do you change the topbar font size

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
Locked
User avatar
rstynls9
Registered User
Posts: 21
Joined: Thu Sep 25, 2008 3:51 pm

How do you change the topbar font size

Post by rstynls9 »

I'm using the Cerulean theme -- based on prosilver, and I'd like to change the size of the font in the topbar where it lists "ucp", "messages", "view posts", and "logout". I found the following in /theme/common.css, but it doesn't have the font size.

Code: Select all

#topbar {
	height: 48px;
	padding: 0 75px;
	text-shadow: #cecfd4 1px 1px 0;
}

#topbarin{
	padding-top: 8px;
	float: right;
}

#topbarout{
	padding-top: 5px;
	float: right;
}
Last edited by Rahber on Fri Jan 20, 2012 10:23 am, edited 1 time in total.
Reason: Topic icon changed
User avatar
nextgen
Jr. Style Validator
Posts: 2377
Joined: Mon Jul 26, 2010 10:58 pm
Location: Guatemala
Name: Melvin García
Contact:

Re: How do you change the topbar font size

Post by nextgen »

Open: root/styles/Cerulean/theme/common.css

Find:

Code: Select all

#topbarin{
	padding-top: 8px;
	float: right;
}
Replace with:

Code: Select all

#topbarin{
	padding-top: 8px;
	float: right;
	font-size: 2em;		
}
This value font-size: 2em; must be replaced in which you think best

Example:

Code: Select all

#topbarin{
	padding-top: 8px;
	float: right;
	font-size: 1.5em;		
}
メルビン・ガルシア • phpBB Development StylesphpBB Argentina - Soporte en español 🇦🇷

Please do NOT contact for support via PM or email.
User avatar
rstynls9
Registered User
Posts: 21
Joined: Thu Sep 25, 2008 3:51 pm

Re: How do you change the topbar font size

Post by rstynls9 »

Thanks for that! I'll give it a try

EDIT: Worked like a charm!
Locked

Return to “[3.0.x] Styles Support & Discussion”