WordPress.org

Forums

Bold Headline
[resolved] How to change the color of topic separator. (8 posts)

  1. HMV130
    Member
    Posted 12 months ago #

    Hello,
    I recently changed the colors of the theme in question, but I can not find the code that defines the color of the post separators (gray line at the end of each post on the post page - I have to change its color because they blend in with the background - http://www.hmv-gramophones.eu).

    Greetings

  2. AC
    Member
    Posted 12 months ago #

    Hi
    Great question. The following code will change the separator color. Just change the rgba to whatever color you wish.

    hentry {
        border-top: 1px solid rgba(203, 24, 24, 1);
    }

    Let me know if you need anymore help.

    -A.C

  3. HMV130
    Member
    Posted 12 months ago #

    Hi,
    Many thanks for the swift reply! It worked.

    Greetings

  4. AC
    Member
    Posted 12 months ago #

    Yeah. But instead of changing it in the style.css. I would install the custom css plugin ( http://wordpress.org/plugins/simple-custom-css/) and add the code there. That way you will still be able to update the theme and keep your changes.

  5. HMV130
    Member
    Posted 12 months ago #

    Even better! Thanks for the advice! Much appreciated.

    Greetings

  6. HMV130
    Member
    Posted 12 months ago #

    A small problem.. It has not changed the color of the last post separator (the one before the widget at the bottom of the page).

  7. AC
    Member
    Posted 12 months ago #

    Change this code as well

    #primary {
        border-bottom: 1px solid #DDD;
    }
  8. HMV130
    Member
    Posted 12 months ago #

    Excellent! Thank you very much!

    Greetings

Reply

You must log in to post.

About this Theme

About this Topic