• Resolved Luisgo

    (@luisgo)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    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.