WordPress.org

Ready to get started?Download WordPress

Forums

Preference Lite
[resolved] How to change this line's color? (6 posts)

  1. lunchbox247
    Member
    Posted 11 months ago #

    When I put a widget in the "Blog Right Sidebar" a blue-gray (#85a1a5, I think) line appears between the widget's title and the widget's content.

    Is there a way to change the color of this line?
    If not can it be removed?

    drdanieljaredsmith.com

  2. iampng
    Member
    Posted 11 months ago #

    is the website drdanieljaredsmith.com & where it says 'I’d like to change the color of the line below this title…'
    Add this to your child theme

    .modline-outer {
       border-bottom: 1px solid #78A5B6;(change #78A5B6  to your color)
        border-top: 1px solid #78A5B6;(change #78A5B6 to your color)
        height: 2px; (can be left out in child theme)
        margin-bottom: 18px; (can be left out in child theme)
    }
    .modline-inner {
        background-color: #78A5B6;(change #78A5B6 to your color)
        height: 2px; (can be left out in child theme)
        width: 25%; (can be left out in child theme)
    
    }

    To remove it just add
    .modline-outer {
    display:none;
    }
    .modline-inner {
    display:none;
    ]

  3. lunchbox247
    Member
    Posted 11 months ago #

    Thank you!
    If I'd got the color right in the first place, I could have saved you the effort. Oh well...

  4. StyledThemes
    Member
    Theme Author

    Posted 11 months ago #

    No worries... I like to know users of my themes are ok and things are working. Also thanks to iampng for responding to the topic with the posted code to help lunchbox247 ...it makes my job easier :)

  5. Faceup
    Member
    Posted 10 months ago #

    Hi! Im trying to change the color of the line but it doesn't work, I have tried to look for the .modline-outer, think I found the right thing in style.css, I change the color and saved, but nothing appears and the color is still the same gray-blue as it was before.

    Do you have any suggestions? My website is: http://aktivaussie.se

    Thanks!

  6. StyledThemes
    Member
    Theme Author

    Posted 9 months ago #

    Faceup... looks like you found it because it's green on my end.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.