Title: ShortCode in CSS Class does not work
Last modified: May 7, 2018

---

# ShortCode in CSS Class does not work

 *  Resolved [Luisgo](https://wordpress.org/support/users/luisgo/)
 * (@luisgo)
 * [8 years ago](https://wordpress.org/support/topic/shortcode-in-css-class-does-not-work/)
 * Hello,
 * before the last version of this plugin.
 * I had configured the following shortcode, in a css class so that after 3 minutes
   the desired content would appear.
 * I use this shortcode in a css class because I use the Divi theme with the visual
   constructor and I need a part of the content to appear later.
 * I use this css class:
 * timed-content-client_show_3_27_2000
 * Everything worked fine with this shortcode.
 * But now it is not working, can you please help me to know why it does not work
   now …
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-in-css-class-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [8 years ago](https://wordpress.org/support/topic/shortcode-in-css-class-does-not-work/#post-10256552)
 * I don’t understand, what you mean with “is not working”. What do you expect? 
   What is actually happening? Also keep in mind: Shortcodes are for the **content**
   of a page/post and not for CSS rules.
 * From what I see so far:
 * You have a DIV element which also has “timed-content-client_show_3_27_2000” as
   CSS class:
 * `<div class="et_pb_row et_pb_row_1 timed-content-client_show_3_27_2000">`
 * So if you want to style this, you need to define a CSS rule for “timed-content-
   client_show_3_27_2000” as well somewhere. But I could not find any CSS style 
   in your style sheets for this. I also don’t know anything about the Divi theme
   and the “visual constructor”. The normal way is to modify the `style.css` of 
   the theme or to create a child theme with a customized version of `style.css`.

Viewing 1 replies (of 1 total)

The topic ‘ShortCode in CSS Class does not work’ is closed to new replies.

 * ![](https://ps.w.org/timed-content/assets/icon-256x256.png?rev=2953069)
 * [Timed Content](https://wordpress.org/plugins/timed-content/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/timed-content/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/timed-content/)
 * [Active Topics](https://wordpress.org/support/plugin/timed-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/timed-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/timed-content/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/shortcode-in-css-class-does-not-work/#post-10256552)
 * Status: resolved