Title: Add Multiple CSS Classes to Elementor Widget
Last modified: August 5, 2020

---

# Add Multiple CSS Classes to Elementor Widget

 *  [LoNo09](https://wordpress.org/support/users/lono09/)
 * (@lono09)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/add-multiple-css-classes-to-elementor-widget/)
 * 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](https://wordpress.org/support/users/liveaspankaj/)
 * (@liveaspankaj)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/add-multiple-css-classes-to-elementor-widget/#post-13213819)
 * 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 [support@nextsoftwaresolutions.com](https://wordpress.org/support/topic/add-multiple-css-classes-to-elementor-widget/support@nextsoftwaresolutions.com?output_format=md)
   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.

 * ![](https://ps.w.org/visibility-control-for-learndash/assets/icon-256x256.png?
   rev=2146785)
 * [Visibility Control for LearnDash](https://wordpress.org/plugins/visibility-control-for-learndash/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visibility-control-for-learndash/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visibility-control-for-learndash/)
 * [Active Topics](https://wordpress.org/support/plugin/visibility-control-for-learndash/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visibility-control-for-learndash/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visibility-control-for-learndash/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pankaj Agrawal](https://wordpress.org/support/users/liveaspankaj/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/add-multiple-css-classes-to-elementor-widget/#post-13213819)
 * Status: not resolved