How to apply a CSS Class to a group?

Thameshin
Thameshin Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 1 ☆ Roadie ☆
Hi all. Im currently working to integrate external JS into my project. Im able to run the specific function on a single object by defining a CSS class in the object properties. But I actually want to run this on an entire group, unfortunately, Lectora does not allow me to define a CSS class on a group. Is there a workaround to this? Through some sort of coding?

Answers

  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    The group object has no equivalent in HTML after publication, so even if you could give it a class it would not help. You can give all objects the same class and objects can of course have more than one class. You could give all objects the class "group1" and add an individual class for each object, e.g. "item1", "item2".
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!