WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widget borders in the sidebar (10 posts)

  1. sdimbert
    Member
    Posted 6 years ago #

    I am running 3 K2 Redux klein and want to add borders to the tops of my sidebar widgets. I know that this is a simple CSS edit, but I am not sure where to look to make the change and what the code should look like.

    Can someone get me started please?

  2. dcroe05
    Member
    Posted 6 years ago #

    How about a link?

  3. sdimbert
    Member
    Posted 6 years ago #

    I didn't include one because I didn't think it would matter... the issue is general, not specific to my site (I thought).

    Anyway, my site is here.

  4. dcroe05
    Member
    Posted 6 years ago #

    Well, in general, the following CSS line will add a black, thin solid border to the top of whatever class you add it to in the stylesheet...

    border-top: #000000 1px solid;

    I can't view your stylesheet to give you more specific directions because your blog is in maintenance mode.

  5. sdimbert
    Member
    Posted 6 years ago #

    Sorry about Maintenance Mode. The site is now re-opened.

  6. drewactual
    Member
    Posted 6 years ago #

    add to your css:

    .widget {border-top: 1px solid black;}

    if'n you don't want it to apply to all your widgets, you will have to define every widget by class name.... example:

    .widget-this-one, .widget-that-one (ect..)

  7. sdimbert
    Member
    Posted 6 years ago #

    Where in style.css? Does it matter?

  8. drewactual
    Member
    Posted 6 years ago #

    don't matter... bottom will work....so will top....

  9. drewactual
    Member
    Posted 6 years ago #

    looks like you whooped it...

    case closed?

  10. sdimbert
    Member
    Posted 6 years ago #

    Got it done... thanks, all!

Topic Closed

This topic has been closed to new replies.

About this Topic