Support » Theme: Twenty Fourteen » Twenty Fourteen – Modify the look of page titles

  • Resolved Jas999

    (@jas999)


    Hi,
    I want to change the change the look and feel of the title on pages, just below the feature image. I was successful in centering it, changing the color, the font, etc.

    The code I use only modify titles on FULL WIDTH template pages and I do not know why… Can someone help me so I can apply similar changes to other page templates, such as the ‘default’ or even custom page template I migh create in the future? Here is the code I use:

    .page-template h1.entry-title {
    	color: blue !important;
    	font-weight: 300;
    	font-size: 33px;
    	font-family: times new roman;
    	text-align: center;
    	}

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The prefix of .page-template will mean this only applies to sections/pages with that class. To modify all page titles you would need to be less specific with your selector. e.g:

    h1.entry-title {
    	color: blue !important;
    	font-weight: 300;
    	font-size: 33px;
    	font-family: times new roman;
    	text-align: center;
    	}

    or perhaps even less specific (to target everything with a class of entry-title):

    .entry-title {
    	color: blue !important;
    	font-weight: 300;
    	font-size: 33px;
    	font-family: times new roman;
    	text-align: center;
    	}

    Thanks! it now works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twenty Fourteen – Modify the look of page titles’ is closed to new replies.