WordPress.org

Support

Support » How-To and Troubleshooting » Changing Page Title font size and color in Twenty Eleven Theme

Changing Page Title font size and color in Twenty Eleven Theme

  • Can someone tell me how to change the Page Title font size and color?…I have looked everywhere in the code without success…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Me too… HELP!

    esmi

    @esmi

    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    You need to change some CSS in the style.css file.

    .entry-title {
    	clear: both;
    	color: #222; /*Change This to whatever color you want*/
    	font-size: 26px; /*Change This to size you want*/
    	font-weight: bold;
    	line-height: 1.5em;
    	padding-bottom: .3em;
    	padding-top: 15px;
    }

    Hmm… changing the font size worked on the main page, but when you click through to the post the title is 26px again. Looks like the title is H2 class but I’m having no luck specifying font size for entry-content h2.

    Ctrl+F to search for .entry-title in the style.css file.

    .singular .entry-title {
    	color: #000; /*Change This to whatever color you want*/
    	font-size: 36px; /*Change This to size you want*/
    	font-weight: bold;
    	line-height: 48px;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Changing Page Title font size and color in Twenty Eleven Theme’ is closed to new replies.
Skip to toolbar