Lau ^_^ 1 Posted March 4, 2019 Share Posted March 4, 2019 Hi how can i use more IDs in [data-forumid="69"] ? For example: [data-forumid="69,33,33,11,55,22,323"] etc.. Link to comment Share on other sites More sharing options...
Steve Z 1 Posted March 4, 2019 Share Posted March 4, 2019 (edited) 36 minutes ago, Lau ^_^ said: Hi how can i use more IDs in [data-forumid="69"] ? For example: [data-forumid="69,33,33,11,55,22,323"] etc.. I'm assuming it's so you can have one specific icon for multiple forums right? Maybe try something like this [data-forumid="1"] .fa-comments:before, [data-forumid="2"] .fa-comments:before, [data-forumid="3"] .fa-comments:before { content: "whatever"; } idk if this'll actually work. But usually in css you can group classes together like that. Edited March 4, 2019 by Steve Z 1 Link to comment Share on other sites More sharing options...
Lau ^_^ 1 Posted March 4, 2019 Author Share Posted March 4, 2019 (edited) 10 minutes ago, Steve Z said: I'm assuming it's so you can have one specific icon for multiple forums right? Maybe try something like this [data-forumid="1"] .fa-comments:before, [data-forumid="2"] .fa-comments:before, [data-forumid="3"] .fa-comments:before { content: "whatever"; } idk if this'll actually work. But usually in css you can group classes together like that. I use this for some category style. I already use what you have shown me.. but i'm looking for something simpler so i don't have to edit so many css lines if i want to add this for other categories in the future. Edited March 4, 2019 by Lau ^_^ Link to comment Share on other sites More sharing options...
Recommended Posts