Customizing Nameboxes with CSS
-
Hi Jeroen,
I read your FAQ and I understand that .name_directory_name_box refers to the individual name boxes of the entries. However, I am having trouble with styling the font colours for each individual unique box entry. Take this site in your FAQ for example: https://goutu.org/cuisine-alimentation/lexique-de-cuisine/ the first box says “Appareil
Préparation servant de base à la confection d’une pâte.”and the second box is
”
Beurre en pommade
Beurre ramolli jusqu’à prendre la consistance d’une pommade.”How do I make the first box RED and the second box BLUE for example?
I tried using child selector in CSS to select there 2nd, 3rd child from the .name_directory_name_box element but it breaks whenever users search for the actual box since it takes the absolute child instead of changing the actual box in the database.Sorry If im not clear enough, and also thanks it advance!
Also just gave you some coffee money in donation for the wonderful widget (=
The topic ‘Customizing Nameboxes with CSS’ is closed to new replies.