• I am trying to change the styling for the entry.header on the single posts on the news page. For the other static pages I have a wrap around graphic as a background in back of the page title, but want to eliminate it for the individual news posts.

    I’m new to php and this forum. Would this be something like this to add to the index.php or content.php:

    if ( is_single() || is_page()) 
    
    	{ echo '<article><header class="entry-header2"><h1 class="entry-title blog-page-title">' . get_page( $front_page )->post_title . '</h1></header></article>'; } ?>

    Or is it something that can be done with CSS?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to create different entry header for single post page in Twenty fourteen’ is closed to new replies.