• I want to be able to add multiple css classes to an elementor widget because my customers can purchase multiple courses that overlap and so I need to be able to select more than one classes to hide an element.

    basically if I have 2 customers one enrolled in course A and another in course B I need the element to be able to list both courses as a variable so it will show for both customers and not just based off 1 course/group

Viewing 1 replies (of 1 total)
  • Plugin Author Pankaj Agrawal

    (@liveaspankaj)

    Yes, you can add multiple classes with a space.

    Example 1:
    visible_to_course_123 visible_to_course_456

    This element will be visible only to users who have access to both courses.

    However, I see that it doesn’t solve your requirement because you want the element to be visible to users who have access to any of the two courses. One possible solution is to create two elements:

    1. visible_to_course_123
    2. visible_to_course_456 hidden_to_course_123

    I cannot think of an easier way to use a single element, it will require custom development. You can try with your developers, or send a support request to [email protected] with details of your use case if you want use to build it.

    Regards,
    Pankaj

Viewing 1 replies (of 1 total)
  • The topic ‘Add Multiple CSS Classes to Elementor Widget’ is closed to new replies.