Board index PBase HTML and Style Sheets Changing Font Size of Title

HTML and Style Sheets

Changing Font Size of Title

Customize your galleries.
rickwphotography
 
Posts: 3

Changing Font Size of Title

Post Sun Nov 08, 2009 12:57 pm


Hello, all I want to do is change the font size of the title, here is an example http://www.pbase.com/rickwphotography/ridingtherails

I simply want to change the font size of the title "Riding the Rails" and make it bigger. I would need to do this on all of my galleries and I use different style sheets, so will the same coding work on all of them?

Thanks, Rick.

mardoli
 
Posts: 589

Re: Changing Font Size of Title

Post Sun Nov 08, 2009 2:56 pm


Hello Rick!
This is the section of your Style-sheet you have to modify to get the font of the title bigger
Code: Select all
  h2 {
font-size: 14pt;
font-weight: normal;
text-align: center;
letter-spacing: 5px;
padding-top: 15px;
padding-bottom: 15px;
margin-left: -10px;
margin-right: -10px;
background : #000000;
color : #999999
}

You have simply to change the value in the line
Font-size
according to your tastes.
The change will be valid for all the galleries with the same style-sheet.
But the principle is exactly the same also for other style-sheets;
look, in your different CSS, for the section called
h2
It’s the one which controls the appearance of your gallery title.
Then correct the dimension of the font size at your pleasure

Have a nice day
Marisa
ImageImage
"Arguments are to be avoided; they are always vulgar and often convincing."
~Oscar Wilde~

ladytanya
 
Posts: 26
Location: Russia

Re: Changing Font Size of Title

Post Tue Dec 01, 2009 5:24 pm


So you can include HTML code in description of gallery. Your title maybe:
Code: Select all
<font style="font-size:36px;">Title</font>
WBRG, Lady Tanya.


Board index PBase HTML and Style Sheets Changing Font Size of Title

Who is online

Users browsing this forum: No registered users and 2 guests