• Resolved Gianluca

    (@karnhack)


    hi, i need to remove the word “home” in the static page, but when add the code:
    .page-id-x1 .entry-title { display: none; }
    disappears also the title of the slide. Any suggestions?
    Thank You

    Gianluca

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Gianluca

    (@karnhack)

    I solved it by simply removing the title of the page. thanks anyway

    Although marked as solved, I just did this in another way before coming across this topic so thought it may fit to share here. This is what I did, in content-page.php

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<?php
    		// Page thumbnail and title.
     +   if ( ! is_front_page() ) {
    		  twentyfjorton_post_thumbnail();
    		  the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
    +    }
    	?>

    After adding these 2 line (+) Title is now stripped out on the static front page but shows on other pages. I hope it can help someone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When remove page-id-title also disappears in the slide’ is closed to new replies.