Delete a WordPress "entry-header"

by 14 replies
16
Wonder if anyone knows if I can delete this entry-header safely (see attachment) as it appears on this page in my WordPress. I see it in Firbug and then trace the code in my "style.css" but wonder if deleting that will affect anything else? Thank you.
#website design #delete #entryheader #wordpress
  • The simplest way is to use display:none;

    Just go to your wordpress editor , style.css

    search for .entry-header .entry-title

    add that code display:none; inside that css block.

    Hope this helps
    • [1] reply
  • If it's the archive-title that's giving you grief, just add

    .archive-title {
    display: none;
    }
    • [1] reply
    • Nettiapina, THANK you. I believe that too will work! FIRST, here are 3 I just deleted from my "style.css" to show you something:

      .entry-header {
      display: none;
      }
      .entry-title {
      display: none;
      }
      .archive-title {
      display: none;
      }

      with all those deleted, go to my main page atHERE and please click any tags in the tag cloud (Colossol Cloud!) on lower left, and you'll see my images. However, when I have those 3 above in my "Style.css", none of my images in that tag cloud will be visible....why?
      As you'll notice, with those 3 also omitted from my "Style.css" that little guy with mustache is now reappearing on all pages again......
      • [1] reply
  • I would simply remove the line that starts with background-image: url(http://dc.cartoonfile.com/w
  • Robin:
    Do you mean in "style.css"? Because there are actual two separate lines:

    .entry-header .entry-title {
    background-image: url(http://dc.cartoonfile.com/wp-content...images/dan.png);
    background-repeat: no-repeat;
    line-height: 7;
    padding-left: 100px;
    }
    .archive-title {
    background-image: url(http://dc.cartoonfile.com/wp-content...images/dan.png);
    background-repeat: no-repeat;
    line-height: 7;
    padding-left: 100px;
    }

    And if so, do you mean deleting all of that actual code, or just the line(s)
    "background-image: etc." and leave that code BEFORE them: .entry-header .entry-title {
  • Add this to the end of your theme style.css

    It will only remove the heading on the front page.
    • [1] reply
    • Pongset: How do you do that? IT WORKED! Thank you. Go to my test site and have a look. Click any link atop in that menu. Great! I appreciate you......and yes, thanks for your input Robin, I appreciate the input also!
  • Also: Is there anything else I could add to "style.css" to hide/delete that same image as it does still appear on my "Dan's Blog" page up on the menu if you click that . .
  • it's just a matter using the correct selector

    try this to hide the heading including archive description

    Code:
    body.category-dans-blog .archive-header {
    display: none;
    }
    to hide only the title but keep the archive description, use this

    Code:
    body.category-dans-blog .archive-header .archive-title {
    display: none;
    }
    to hide only the title image but keep the title text and description, use this

    Code:
    body.category-dans-blog .archive-header .archive-title {
    padding-left: 0;
    line-height: inherit;
    background: none;
    }
    to hide the heading on all category pages (eg. automobiles, banking, etc.), use this

    Code:
    body.category .archive-header {
    display: none;
    }
    cheers!
    • [1] reply
    • Hi Pongset: Thank you. I added all of those to my "style.css" and if you click "Dan's Blog", the guy with mustache still appears in that header just above my banner: "DansCartoons *ToonBlog"....I wonder what other selector could be added to eliminate that header? Otherwise, it is working slowly but surely! SEE HERE

Next Topics on Trending Feed

  • 16

    Wonder if anyone knows if I can delete this entry-header safely (see attachment) as it appears on this page in my WordPress. I see it in Firbug and then trace the code in my "style.css" but wonder if deleting that will affect anything else? Thank you.