Remove Page Headings

Discussion in 'ColorWay WordPress Theme' started by mleatherman, Oct 22, 2013.

  1. mleatherman

    mleatherman New Member

    Joined:
    Sep 12, 2013
    Messages:
    23
    Likes Received:
    0
    I have the following code commented out in the page.php file. The pages headings are still showing.
    What do I need to do to prevent page heading from printing... Thanks

    <!-- <?php if (have_posts()) while (have_posts()) : the_post(); ?> -->
    <!-- <?php if (is_front_page()) { ?> -->
    <!-- <h2> -->
    <!-- <?php the_title(); ?> -->
    <!-- </h2> -->
    <!-- <?php } else { ?> -->
    <!-- <h1> -->
    <!-- <?php the_title(); ?> -->
    <!-- </h1> -->
    <!-- <?php } ?> -->
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .sl {
    display: none;
    }
    .content-wrapper h2{
    display: none;
    }
     

Share This Page