WordPress.org

Ready to get started?Download WordPress

Forums

page titles (2 posts)

  1. socamind
    Member
    Posted 6 years ago #

    How can I edit my page titles - change font, size, etc?

  2. athique
    Member
    Posted 6 years ago #

    Go into your theme editor and select the stylesheet.

    Your page titles are in h2 tags so if you look for the following code...

    h2 {
    	font-size: 1.6em;
    	}

    ...you can edit it to change the font size of anything in h2 tags..in this case your titles.

    Similarly, editing the following bit of css...

    h1, h2, h3 {
    	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	font-weight: bold;
    	}

    ...will change the font for anything in h1 (main title), h2 (post title), or h3 tags.

    To change h2 only just copy and paste that same bit of code so it's duplicated. Delete h2 from the first bit of code and then delete h1 and h3 from the second bit of code. It should end up looking like this...

    h1, h3 {
    	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	font-weight: bold;
    	}
    h2 {
    	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    	font-weight: bold;
    	}

    Then make changes to which ever parts you like.

    I hope that's understandable.

Topic Closed

This topic has been closed to new replies.

About this Topic