how to teaser title font size
mrgoltra - June 9, 2007 - 10:16
Good Day,
I am trying to change the teaer title font size, I want it to be a little smaller, I have tried changing it on the node.tpl.php but had no luck I change the tags all the way down to 6 but the size still remains. Is there another location where I can modify the size?
TIA,
Mark

add inline style
add inline style in your node.tpl or make your css file and override .title class
Nitin
little too much
Thank you for your suggestion. I am not familiar with inline style? can explain a bit further?
Inline stylesheets are
Inline stylesheets are _absolutely_ unnecessary when not using dynamic styles, e.g. the width of a poll bar which depends on the amount of votes for that options.
CSS
I would always encourage someone to do these things in the style sheet (CSS) before monkeying with the theme or code.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
which css file?
node? style?
do I have to create an entry?
TIA
Styles.css
First, you have to learn something about cascading style sheets (CSS) which are the backbone of any good web site. Drupal relies heavily on CSS to theme your site. There are many tutorials on the web; one of the best is http://www.w3schools.com/css/default.asp.
After that, locate your theme folder. In 5.x, most themes name their css "styles.css". Make your changes there.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
to clarify
when I modify the css file and/or the node.tpl file, this will affect all content type right? (page, book, forum and any custom made content type)?
TIA
Mark
I've got one advice: Learn
I've got one advice: Learn how to use CSS. It's a coding language for all the graphical stuff on websites. I think it goes a bit beyond drupal.org to explain to you all the ins and outs of CSS, but I suggest you read some nice tutorials, like the ones at http://w3schools.com/.
This is done through the css
This is done through the css file in your theme. However, the name of the file and the item to look for is going to vary depending on which theme you use.
--
Jenni S.
http://www.nu-look.net
Portland, OR metro area
Contact Me
Thank you all
Hello Everyone,
I want to thank you for all your feedback. I finally figured it out. To those who linked w3shools.com. Thanks. Great Resource.
Take care everyone.
Mark