By ventophile on
Quick question - I love the Pushbutton theme that comes with Drupal, but I would prefer the body text of each page to be a bit smaller (like it is with most of the other themes). How do I do that?
I have looked in the admin area within Drupal but can't see any easy way to alter the (default) font size of body text in each page. I presume I have to alter a config file somewhere?
I know my way around FTP and editing config files etc, but I haven't got any experience with PHP etc. specifically, so layman's terms would be appreciated!
Many thanks in advance...
Phil
Comments
edit themes/pushbutton/style.css
find the CSS element that you want and insert or modify the
font-size:statement.To figure out which CSS element to modify, view the source of any Drupal page, or if you're running Firefox, get the "CSSViewer" extension.
Thanks for this - I hadn't
Thanks for this - I hadn't used the CSSViewer extension before - it's very impressive.
I eventually found the line I needed to alter in "style.css", although it took a bit of finding - it was actually this bit:
.node .content {
text-align: left;
font-size: 0.85em;
line-height: 1.3;
}
I changed "0.85em" to "0.75em" and that seems to have done the trick.
Thanks again for your help!
Did you try the CSS?
Did you try changing the font info the CSS file?