WordPress.org

Ready to get started?Download WordPress

Forums

P2
Line (border) under title on posts and pages. (4 posts)

  1. royperez.net
    Member
    Posted 3 years ago #

    Hi, all. I'm using a Page with a graphic on the index page of royperez.net. The Page has no title, because I'd like it to be plain white, but the line or border that belongs under the title still appears. The theme is P2 by Auttomatic (love it). I've searched everywhere for the code for this, and I can't figure out where it might be. I'm not a stylesheet genius though.

    Can anyone suggest a way of removing this line/border from all posts, or just this one Page? I just want white space.

    Thanks all.
    Roy

  2. Alx Block
    Member
    Posted 3 years ago #

    Hi Roy,

    The line that you're looking at there is a border.

    In your style.css file, look for this:

    #main ul#postlist li {
        border-top-style: solid;
        border-top-width: 1px;
        overflow: visible;
        padding: 14px 0 0;
    }

    Change the border-top-width size to 0px and the line will go away.

    The CSS will look like this when you're done:

    #main ul#postlist li {
        border-top-style: solid;
        border-top-width: 0px;
        overflow: visible;
        padding: 14px 0 0;
    }

    Just take note that this will remove the line from all posts, not just the front page.

  3. royperez.net
    Member
    Posted 3 years ago #

    Perfect!! Thanks so much, Elixr, I just learned a bunch.

  4. Alx Block
    Member
    Posted 3 years ago #

    Awesome!

    Always happy to help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic