Board index PBase HTML and Style Sheets Title Font

HTML and Style Sheets

Title Font

Customize your galleries.
chembree
 
Posts: 3

Title Font

Post Thu Dec 06, 2007 5:38 am


Anyone know how to change the title Font?
Is this a HTML code or CSS Code.

http://www.pbase.com/chembree/pets

This is new, trying to get the look before the photo's are posted.

Chris ..

shawnkraus
 
Posts: 352

It is located in the CSS code

Post Fri Dec 07, 2007 9:25 pm


It should be quite easy to locate the fonts.

jeffreyk
 
Posts: 92


Post Sun Dec 09, 2007 6:52 pm


It is in your CSS, specifically this section:

Code: Select all
h1, h2 {
        border: rgb(255, 160, 0) 2px solid;
        border-left: 1px none;
        border-right:1px none;
        border-top: 1px none;
        margin-bottom: 1em;
        margin-left: -5px;
        margin-right: 1px;
        padding: 20px;
        width: 98%;
        display: block;
        background: #202020;
        color:  #eeeeee;
        font-size: 20px;
        font-weight: block;
        letter-spacing: 4px;
        text-align: center;
        height: 21px;
        position: relative;
}

h2:first-letter
{
  color: rgb(255, 160, 0);
  font-weight:Apple Chancery;
  font-size: 25pt;
}


You will notice a couple things first, there is no font defined in the H2, it will use your default font for the page, or you could add a line to change the font for this section. Also this section effects H1 as well, so other things might change if you make changes. Its a good idea to make a backup of your style sheet then just playing with it. There are lots of threads in these forums about editing CSS, and using editors like web dev.
-----------------------------------------------------------
Jeffrey Klassen
http://www.JeffreyKlassen.com // http://www.enslavedlight.com/ <- My new gallery


Board index PBase HTML and Style Sheets Title Font

Who is online

Users browsing this forum: ClaudeBot and 1 guest