Announcement

Collapse
No announcement yet.

Icon color

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Icon color

    Hello,
    How can I change the color of the ICON for the calendar?
    peter

  • #2
    Hi

    Did you get anywhere with changing the ICON color for Calendar.

    I can change the color in development mode on Chrome by adding

    color: blue;

    after

    .fa-calendar-alt:before {
    content: "\f073"


    So you would think that adding

    .fa-calender {
    color: blue;
    }


    to the theme .css it would see the change but it doesn't.

    Any ideas?

    MATO

    Comment


    • Andorxor
      Andorxor commented
      Editing a comment
      You need to add ::before to your selector to change the color of the icon,because thats where the icon is, and the icon is fa-calendar-alt not fa-calendar (fa-calendar is the icon of the datetimepicker),if you realy want to set the color by the icon used and not by the function (which means that you can not have dseveral calendar icons with different colors)
      Last edited by Andorxor; 09-27-2019, 11:28 AM.

  • #3
    Create the file Espo\custom\Espo\Custom\Resources\metadata\clientD efs\Calendar.json with the content
    PHP Code:
    {
        
    "color""#00FF00"

    Than clear the cache and reload the page
    Last edited by Andorxor; 09-30-2019, 08:05 AM.

    Comment

    Working...
    X