Forums

[resolved] Remove Horizontal Lines in Sidebar (Smooth 1.0.4.1) (11 posts)

  1. Family Reflections
    Member
    Posted 2 years ago #

    On the right of the site there are two sidebars:
    http://famreflections.com

    On the left of the two (where the light blue image resides) I'd like to remove the horizontal lines above the image. Or any other lines that would appear if I added new widgets to that sidebar.

    The right sidebar had extra lines at first but I got it to work around by editing the html in the widgets. I don't know why that worked.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try adding:

    #sidebar .col140 #text-10 {border-top:none;}

    to style.css

  3. Family Reflections
    Member
    Posted 2 years ago #

    Thank you.

    It did get rid of one line, but it left the other. The remaining line and the image did not rise to the occasion either.

    Want to take another look?: Family Reflections

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try:

    #sidebar .col140 #text-10,sidebar .col140 #text-10 div:first-child {border-top:none;}

  5. Family Reflections
    Member
    Posted 2 years ago #

    No dice brother. I don't think anything happened.

    The place where nothing happened.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Sorry - my typo. That should have been:

    #sidebar .col140 #text-10,#sidebar .col140 #text-10 div:first-child {border-top:none;}

  7. Family Reflections
    Member
    Posted 2 years ago #

    Great! That removed both the lines that troubled me. Thank you very much.

    Now is there a way to raise that light green image up so its top is at the same level as the top horizontal line in the right sidebar?

    Back to the work in progress...

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try adding:

    #sidebar .col140 #text-10 div:first-child {padding-top:0;}

  9. Family Reflections
    Member
    Posted 2 years ago #

    Thank you again.

    It raised it a little! Check out the: Before and After Shot.

    Back to the: Website in Question.
    I've left the latest suggested code in there, so you'll see it. If there is a way to raise the green image's top to the height of the top line in the right sidebar that would be perfect. If not, I can work with this as it is.

    Also, with the code you've offered I've learned a thing or two about borders and padding. Thank you for that.

  10. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I'm having really difficulty targeting that block correctly. Although the css last time was more specific, it's still being over0ridden by another line higher up the stylesheet. One more go...
    Try replacing:

    #sidebar .col140 #text-10 div:first-child {padding-top:0;}

    with:
    #sidebar .col140 #text-10 div:first-child {padding:0 0 10px;}

  11. Family Reflections
    Member
    Posted 2 years ago #

    With this new code it actually just stayed in the same spot. I've left this new code in there so you can take a look if you like. But there's nothing really to see.

    Thank you though my friend. Like I said before, I can definitely work with what you achieved here. And I've learned some code for my future work, thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic