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

Comments

nitin_singh’s picture

add inline style in your node.tpl or make your css file and override .title class

Nitin

mrgoltra’s picture

Thank you for your suggestion. I am not familiar with inline style? can explain a bit further?

xano’s picture

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.

nancydru’s picture

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

mrgoltra’s picture

node? style?

do I have to create an entry?

TIA

nancydru’s picture

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

mrgoltra’s picture

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

xano’s picture

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/.

jsimonis’s picture

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

mrgoltra’s picture

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