WordPress.org

Forums

Origami
[resolved] Remove "Posts in Category:" Heading (12 posts)

  1. Scootpunker
    Member
    Posted 2 years ago #

    I've done a bunch of looking around trying to figure this out. I did it once before but I can't for the life of me remember how I did it, and that theme/code is long gone..

    I don't want the line: Posts in Category: ross
    to appear above the titles of my "blog" entries.

    Page in Question

    I have added the CSS below to my custom CSS page, but to no avail. Any ideas?
    Oh yeah, im totally new to WP. I understand why custom CSS works but I am still wrestling with where to find code, and what it means when I find it. I have a book, but still trying to fit all this in around my normal work schedule. Thank you kind forum!

    .category .pagetitle {
          display: none;
    }
    
    .archive .page-title {
    display: none;
    }
    
    h3.pagetitle {
      display: none;
    }
  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Try this:

    h1.archive-title {
       display: none;
    }
  3. Scootpunker
    Member
    Posted 2 years ago #

    nope.

    but it was a little snippet of code just like that that worked before.

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    I don't see that code on your site - where are you adding it?

  5. Scootpunker
    Member
    Posted 2 years ago #

    I added that in the custom css area provided...

    I have all of this in there right now:

    .visual-form-builder li {
    list-style-type: none;
    }
    
    form.visual-form-builder {
        font-family: 'Ubuntu', sans-serif;
    }
    
    .visual-form-builder fieldset {
    background-color: #D9D9D9;
    
      .content ul li {
    	display: list-item;
    	line-height: 1.75em;
    	list-style: url(images/bullet.png);
    	list-style-position: outside;
    }
    
      h1.archive-title {
      display: none;
    }
  6. Scootpunker
    Member
    Posted 2 years ago #

    for whatever reason, removing all the visual form builder stuff and putting it "after" the code you provided solved the problem. Code in the custom css area now reads:

    h1.archive-title {
      display: none;
    }
    
    .visual-form-builder li {
    list-style-type: none;
    }
    
    form.visual-form-builder {
        font-family: 'Ubuntu', sans-serif;
    }
    
    .visual-form-builder fieldset {
    background-color: #D9D9D9;
    
      .content ul li {
    	display: list-item;
    	line-height: 1.75em;
    	list-style: url(images/bullet.png);
    	list-style-position: outside;
    }

    thanks very much for your help with this WPyogi

  7. WPyogi
    Forum Moderator
    Posted 2 years ago #

    That's because you have a syntax error - you're missing a closing bracket between these lines:

    background-color: #D9D9D9;
    
      .content ul li {

    When you have an error like that, all subsequent CSS is not read.

  8. Scootpunker
    Member
    Posted 2 years ago #

    much appreciated. I will fix that immediately.

  9. hellojanelee
    Member
    Posted 2 years ago #

    thank god i saw yr post cause i've been wanting to remove it as well, but i dont understand the codes u guys are saying here, which are the codes i should copy?

    my website is hellojanelee.com

  10. Scootpunker
    Member
    Posted 2 years ago #

    Jane,

    this is the code you need:

    h1.archive-title {
      display: none;
    }
  11. taucoin
    Member
    Posted 1 year ago #

    I know this is an old post but I can't find where in the code to put that. Thanks.

  12. Scootpunker
    Member
    Posted 1 year ago #

    You would put it in the "custom css" area of the theme. In this case Origami, which provides a nice place for you to do so:

    Appearance > Custom CSS

    This is where you would put any custom css code, it will look here first so this code takes precedence. Strangely I haven't done much wordpress since this was resolved, so it was good for me to look at it again too.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic