PDA

View Full Version : Text color?



Taurus
03-02-12, 04:07
Where can I change the text color on the flags drop-down menu please? On some of my skins it is completely unreadable. See attached:

http://creativx.net/forums/imagehosting/34f2b5d50e0cf3.jpg

r.dziadusz
03-02-12, 16:58
It most probably will need some change in code. I will check on it and I will give you some more clue tomorrow

Taurus
04-02-12, 05:32
OK thanks, I will check back regularly.

r.dziadusz
04-02-12, 14:01
Ok I found it:
To set color of this drop-down menu you have to edit on file:
forum root -> includes -> vbenterprisetranslator_functions_url.php

and edit line:


$menu .= '<td class="vbmenu_option"><a rel="novbseo" style="color: black;" ';


Change value of color:

In example if you want to have green text:


$menu .= '<td class="vbmenu_option"><a rel="novbseo" style="color: green;" ';

Taurus
04-02-12, 14:37
I have about 20 different skins on my forum. So with this edit it will change the color globally on all skins. That will not do. I need a way to change the text color for different forum skins. Thanks.

r.dziadusz
04-02-12, 23:12
Right now we do not support dinamically changing text color for dropdown menu, it is hardcoded value in our script. I will ask Michał whether it will be editable in our next release

Taurus
05-02-12, 03:34
Right now we do not support dinamically changing text color for dropdown menu, it is hardcoded value in our script. I will ask Michał whether it will be editable in our next release

I already fixed it myself thanks. I just added a stylevars code in that part you gave me. So it pulls from the Stylevars. Which works much better for every skin uses different colors. Thanks.

sergarch
15-02-12, 11:44
I already fixed it myself thanks. I just added a stylevars code in that part you gave me. So it pulls from the Stylevars. Which works much better for every skin uses different colors. Thanks.

Hello!

Could you share your solution for others, please?

Thank you!

:)

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages supported by vB Enterprise Translator 4.9.2