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:

    <style>
    .entry-title {display:none;}
    </style>

    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

    The site is http://evergreenkidscorner.org/

    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{
    content:””;
    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

    (@falgunihdesai)

    Hello cheekygeek42,

    Add following to style.css

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

    Hope this will solve your problem.

    Falguni

    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: https://midwifegina.com/

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

    Thanks!
    Gina

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.