Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
phpBB: A User Guide

You're reading from  phpBB: A User Guide

Product type Book
Published in Feb 2006
Publisher Packt
ISBN-13 9781904811916
Pages 340 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Stoyan STEFANOV Stoyan STEFANOV
Author Profile Icon Stoyan STEFANOV
Stoyan STEFANOV
Jeremy Rogers Jeremy Rogers
Author Profile Icon Jeremy Rogers
Jeremy Rogers
View More author details
Toc

Customizing through the Stylesheet


The quickest way to overhaul the look of a forum is to change its colors, fonts, and other visual (but non-graphical) decorations. When we looked at the basic elements of a style earlier, we learned that a theme defines and controls these concepts through the formatting rules of a Cascading Style Sheet (CSS). CSS formatting rules add stylistic data, such as specifications for fonts, colors, sizes, borders, and spacing to a document structured with a markup language like HTML. Since phpBB creates documents of this kind to display a forum, the preferred method for changing these parts of the outward appearance of the forum is CSS.

CSS rules can be stored in three different places: in an external CSS file such as subBook.css, in overall_header.tpl, or in a combination of the overall_header.tpl method with some database storage. subSilver uses the combination method, and therefore subBook will also do the same.

Editing the Stylesheet in the Admin Panel

We can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime