Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Change the text color of individual folders created on toolbar

  • 4 ответа
  • 0 имеют эту проблему
  • 20 просмотров
  • Последний ответ от lemo

more options

Hello! I am using the following code (userChrome.css) to color the individual folders created on the toolbar and it works great;

#PlacesToolbarItems > .bookmark-item[container][label="Music" i] {background-color: #ff0545 !important;}
#PlacesToolbarItems > .bookmark-item[container][label="NewsPapers" i] {background-color: #386bff !important;}
#PlacesToolbarItems > .bookmark-item[container][label="News Video" i] {background-color: #386bff !important;}
#PlacesToolbarItems > .bookmark-item[container][label="TV" i] {background-color: #ff1fc8 !important;}

What I am trying to find, is how to change the color of the individual folder name (text) from white to maybe black, yellow, etc.….

Any suggestion is appreciated. Regards,

Hello! I am using the following code (userChrome.css) to color the individual folders created on the toolbar and it works great; #PlacesToolbarItems > .bookmark-item[container][label="Music" i] {background-color: #ff0545 !important;} #PlacesToolbarItems > .bookmark-item[container][label="NewsPapers" i] {background-color: #386bff !important;} #PlacesToolbarItems > .bookmark-item[container][label="News Video" i] {background-color: #386bff !important;} #PlacesToolbarItems > .bookmark-item[container][label="TV" i] {background-color: #ff1fc8 !important;} What I am trying to find, is how to change the color of the individual folder name (text) from white to maybe black, yellow, etc.…. Any suggestion is appreciated. Regards,
Приложенные скриншоты

Изменено lemo

Выбранное решение

You can simply add a color property to set the text color.

Note that "i" means case insensitive, so you do not really have to capitalize.

Прочитайте этот ответ в контексте 👍 0

Все ответы (4)

more options

Выбранное решение

You can simply add a color property to set the text color.

Note that "i" means case insensitive, so you do not really have to capitalize.

Полезно?

more options

@cor-el

With the information you provided I was able to use and find the way to change the text color;

  1. PlacesToolbarItems > .bookmark-item[container][label="Music" i] {color: #0E0E0E !important;}
  2. PlacesToolbarItems > .bookmark-item[container][label="News Papers" i] {color: #0E0E0E !important;}
  3. PlacesToolbarItems > .bookmark-item[container][label="News Video" i] {color: #0E0E0E !important;}
  4. PlacesToolbarItems > .bookmark-item[container][label="TV" i] {color: #0E0E0E !important;}

Thank you for pointing me to the path for the the solution. Sincerely and regards,

Полезно?

more options

Note that you combine this with your previous code for maitainability.

#PlacesToolbarItems > .bookmark-item[container][label="Music" i] {background-color: #ff0545 !important; color: #0E0E0E !important;}
#PlacesToolbarItems > .bookmark-item[container][label="NewsPapers" i] {background-color: #386bff !important; color: #0E0E0E !important;}
#PlacesToolbarItems > .bookmark-item[container][label="News Video" i] {background-color: #386bff !important; color: #0E0E0E !important;}
#PlacesToolbarItems > .bookmark-item[container][label="TV" i] {background-color: #ff1fc8 !important; color: #0E0E0E !important;}

Полезно?

more options

@cor-el

Much better... Regards,

Полезно?

Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.