Support » Theme: Nisarg » Remove page titles and hr

  • I would like to remove the page titles and, most importantly, the small horizontal rule that goes with them. I tried this:

    .entry-title {display:none;}

    It worked on one page to remove the title but it did not get rid of the line under it. I am planning to build a child theme and remove titles in CSS, but I can only find the code to remove the title not the corresponding hr.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You have to look what names those titles have. entry-title is generic. Inspect that element and add the display none is CSS.

    @cheekygeek42 post your site address

    Thread Starter cheekygeek42


    The site is

    I can figure out how to get rid of the title by several different methods but I don’t know where the line underneath is coming from. I think it is just a rectangular drawing.

    When I inspect the element in my page source it seems to be calling .entry-meta. But I don’t know enough about that to know for sure or to change it properly.

    This seems like it might be where it is defined in the style sheet but I’m not entirely sure:

    .entry-meta a{
    clear: both;
    color: #727272;
    text-transform: capitalize;
    line-height: 1.7;

    .entry-meta h5{
    margin-top: 0px;
    margin-bottom: 0px;

    .entry-header .entry-meta::after{
    height: 2px;
    display: block;
    width: 50px;
    margin: 10px auto;

    would it work to do
    .entry-meta {display:none}
    or would there probably be other things defined by meta which I would not want to touch?

    Theme Author Falguni Desai


    Hello cheekygeek42,

    Add following to style.css

    #page .entry-header .entry-meta::after {
    width: 0px;

    Hope this will solve your problem.


    Thread Starter cheekygeek42


    Thank you guys so much for your replies!

    The css Falguni provided worked like a charm!



    I’m trying to do something simple. I am changing to the Gema theme tonight and can’t get rid of the text box outline that would normally house the Page title. (I don’t want a title on the home page). Any ideas:

    PS–I am really a novice, so please be specific if I am to change coding, etc.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove page titles and hr’ is closed to new replies.