Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21480
    vkortleve
    Member

    Hello,

    I’m moderating the website http://www.viaperspectief.nl and I’m using the template Catchbox Pro. It’s a dutch site as you can see.

    In the template of catch box pro there is always the name of the page under the primary menu of the website. So on the homepage: http://www.viaperspectief.nl there always will be ‘Home’ on top of the page (just above the text). Right below ‘Home’ there is ‘Coaching, cursussen en training voor fysiotherapeuten’; because I made this H1 in the page editor. Is it possible to remove the automatically generated text ‘Home’ on this page? I think it will be somewhere in the page.php template? Or else?

    Vincent

    #21521
    Sakin
    Keymaster

    @vkortleve: If you want to completely remove it from the code then you need to build child theme and then copy ‘content-page.php’ file in your child theme and remove the following code.

    <header class="entry-header">
        <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'catchbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    </header><!-- .entry-header -->

    But if you just want to hide it from visitors, then you can simply add the following CSS in “Appearance => Theme Options => Custom CSS” box.
    .page #primary .entry-header { display: none; }

    #21578
    vkortleve
    Member

    Thanx! It works fine. I tried and it works fine. Gonna fix it this weekend because I have to manage some h1
    Vincent

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘H1 – Catch box pro’ is closed to new replies.