WordPress.org

Ready to get started?Download WordPress

Forums

Underline My Topics (8 posts)

  1. Brain916
    Member
    Posted 7 years ago #

    I am talking about underlining each topic,
    for example if you look at the template I am using now
    http://www.sneakerfiles.com you will see the first topic Dunkxchange x Las Vegas February 16th 2007 and is underlined.
    I wanted to add this on my new template, how do I do this?
    I wanted it to be also lined like this - - - -- - - - -

  2. jkeyes
    Member
    Posted 7 years ago #

    The CSS for that site that underlines the title is:

    .ncol h1 {
      border-bottom:2px solid #525D5A;
    }
    

    To changed the border to a dashed line is only a matter of changing 'solid' to 'dashed'.

    .ncol h1 {
      border-bottom:2px dashed #525D5A;
    }
    

    I can't be more specific with the CSS selector without seeing your template.

  3. Brain916
    Member
    Posted 7 years ago #

    Thanks jkeyes
    my actual template I am going to use is located at

    http://www.sneakerfiles.com/test

    Do you have any recommendations?

  4. jkeyes
    Member
    Posted 7 years ago #

    Try this:

    #container #main .entry h1 {
      border-bottom: 2px dashed #525D5A;
    }
    

    2px is the thickness of the line, you can make it thinner 1px or larger 3px,4px,5px,etc. if you choose to.

    dashed is the line style as I mentioned before.

    #525D5A is the color. If you would prefer to use a plain english name for the color see the CSS Color Names page.

  5. Brain916
    Member
    Posted 7 years ago #

    Thank you,
    now is there a way to adjust the size?

  6. jkeyes
    Member
    Posted 7 years ago #

    The size of what?

  7. Brain916
    Member
    Posted 7 years ago #

    Never mind, I figured it out.

    Thank you very much for your help.

  8. jkeyes
    Member
    Posted 7 years ago #

    You're welcome. Can you mark this topic as resolved please.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags