WordPress.org

Ready to get started?Download WordPress

Forums

Count per Day
[resolved] Plugin: Count per day: Changing colour for the letters (18 posts)

  1. kendenich
    Member
    Posted 1 year ago #

    Where can I change the colour of the letters.{color:black} It's now sort of grey and I'd like it black. (Version 3.2.5) I've done only a little work on the style css file and I think the editor of the plugins could help me.

    http://wordpress.org/extend/plugins/count-per-day/

  2. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    change the color of .cpd-dashboard li in counter.css.

  3. kendenich
    Member
    Posted 1 year ago #

    Thanks a lot for your answer.

    I've found a data file called:
    "count-per-day/counter-rtl.css"
    But I still don't know, how to change the ".cpd-dashboard li b,"- code there to get another colour.

    The complete code is:
    .cpd_front_list,
    .cpd_front_list li
    {
    margin-right: 0 !important;
    }

    .cpd_front_list li,
    .cpd-l,
    .cpd-notes td,
    .cpd-notes th
    {
    text-align: right;

    }

    .cpd_front_list li b,
    .cpd-dashboard li b,
    .cpd-r
    {
    float: left;
    }

    I tried it like this, but it didn't work:

    .cpd_front_list li b,
    .cpd-dashboard li b,
    .cpd-r
    {
    float: left; color: black;
    }

    The link to my site is:

  4. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    add this line to the file:
    .cpd-dashboard li { color: black; }
    the b tag is the number only.

  5. kendenich
    Member
    Posted 1 year ago #

    Thanks again but unfortunately it doesn't work.
    I tried it this way:

    .cpd_front_list li b,
    .cpd-dashboard li { color: black; },
    .cpd-r

    {
    float: left;
    }

    and that way

    .cpd_front_list li b,
    .cpd-dashboard li { color: black; },
    .cpd-r

    {
    float: left;
    }
    .cpd-dashboard li
    {
    color: black;
    }

  6. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    .cpd-dashboard li { color: black; },
    .cpd-r

    thats wrong syntax.
    just add the line of my comment to the end of the script.

  7. kendenich
    Member
    Posted 1 year ago #

    Thanks again. Being away for a few days I've just tried change the colour as I wanted and as you suggested. I put the line:

    .cpd-dashboard li { color: black; }
    at the very end of the "count-per-day/counter.css" file and I tried to change the #777 into #000000 here

    .cpd-dashboard li {
    color: #777;
    padding-bottom: 2px;
    border-bottom: 1px #ddd dotted;
    overflow: hidden;
    }
    but it wouldn't work.
    Maybe I misunderstand something quite easy because I'm German. Anyway I thought it would be easier to change colours here which it probably is. Thanks for your help. I think I'll give up.

  8. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    because I'm German

    sag das doch gleich! ;)
    Das ist die richtige Stelle. Hast du vielleicht ein Cacheplugin oder sowas? Dann würdest du evtl. die Änderungen gar nicht benutzen sondern die gecachten Daten.
    Schreib doch mal diese Zeile ganz ans Ende der counter.css:
    .cpd-dashboard li { color: black !important }
    Also wenn das nicht geht...

  9. kendenich
    Member
    Posted 1 year ago #

    Ist ja witzig.
    Hat aber auch nicht geklappt. Ob ich ein Cache-Plugin habe, weiß ich nicht. So Fachmann bin ich nicht.
    In jedem Fall habe ich die Zeile ganz ans Ende gesetzt und auch versuchsweise oben statt der Farbe #777. Ging aber nicht. Eigentlich wollte ich auch nicht so ein Fass aufmachen. Ich dachte, dass die Farbänderung ganz einfach zu bewerkstelligen ist. Wenn das irgendwie jetzt zu aufwändig wird, dann macht die gräuliche Farbe nichts.
    Vielen Dank in jedem Fall für die Mühen.

  10. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    eigentlich ist es ja auch einfach. :)
    wir reden von diesen grauen Texten, oder?
    http://gyazo.com/d5df02f55d2f4643b4ab69e656de0069
    deren Farbe wird wie oben beschrieben bestimmt. merkwürdig...

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    These are English language forums, so please use English. Alternatively, use a WP support forum in your language.

  12. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    if a German user had a problem i will help him in german.

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    Then please also post an English translation. These are English language community forums.

  14. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    you see the first posts?

  15. esmi
    Forum Moderator
    Posted 1 year ago #

    Yes. Please continue posting in English.

  16. kendenich
    Member
    Posted 1 year ago #

    May be that was the mistake?!
    I was talking about the colour of the letters in my "Seitenaufrufe"- widget on my "Startseite".

    http://www.ghs-kendenich.de

  17. Tom Braider
    Member
    Plugin Author

    Posted 1 year ago #

    OK, wrong place. ;)
    this color is set in your style.css of your theme, not of the plugin.
    look for #sidebar { (line 465) and set the color color: #000;.

  18. kendenich
    Member
    Posted 1 year ago #

    Thanks for your help. That was it. I thought it was easy but I had no clou.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic