• It would be nice if there was some way to share css directly between shortcodes in a way that is contained within the plugin, outside of putting it in the main css file of the theme or a link to a file to be included.

    I have multiple instances of the same element where only the HTML is different, but I didn’t want to extract the CSS into the main theme file since it makes it less easily portable. I tried repeating the css in both files but in doing this, I noticed a bug that some media queries do not work when the same CSS rule is included in two shortcodes.

    Is there a solution to this already?

Viewing 1 replies (of 1 total)
  • Plugin Author Wow-Company

    (@wpcalc)

    Hello.

    You can create a duplicate of the item and the duplicate will have the CSS of the main item.

    Or I misunderstood you?

Viewing 1 replies (of 1 total)
  • The topic ‘Share CSS between shortcodes’ is closed to new replies.