• Resolved Jeeenno

    (@jeeenno)


    Hello there.
    I’ve done a background color for the primary sidebar on the right. Now would I like to
    put a colored line under each widget-name like ‘Latest Posts’.
    How can I do this?
    But I don’t mean a ‘text-decoration: underline’. The line should have the same length like the background color box.
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Adrian Houle

    (@adrian-houle)

    Please link your website or else it is impossible to help you.

    Thread Starter Jeeenno

    (@jeeenno)

    sry, I’m working offline on a localhost

    Adrian Houle

    (@adrian-houle)

    Ok. Well I don’t really understand what you mean, but the only way of adding some kind of line underneath other then underline, would be to apply a border style, border color, and border widht only to the bottom of the element. So like this: http://htmldog.com/reference/cssproperties/border/

    Thread Starter Jeeenno

    (@jeeenno)

    Thank you.
    But my problem is not to set the line, just can’t place it right.I would like to bring it between the title of the widget and the widget itself.

    This brings a line at the top or bottom of each widget:
    .widget { border-top: 1px solid #e7e8e9; }
    But what would be the right code for each widget name?

    Thread Starter Jeeenno

    (@jeeenno)

    figured it out! But thanks a lot for your help!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘line under widget-name’ is closed to new replies.