• Resolved lcool3

    (@lcool3)


    Hello,

    When editing the shortcodes is there a way to choose between the custom shortcode you edited and the original shortcode?

    For example, you edit the box shortcode and add in some custom CSS as instructed in article: https://docs.getshortcodes.com/article/33-custom-css-editor

    Once you have added the custom css is there a way to select the original and have the option to choose between the two?

    Kind regards,
    Luke

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vova

    (@gn_themes)

    Hello Luke,

    you can apply or disable custom CSS by adding or removing custom CSS class. For example, add the following CSS:

    .su-box.my-yellow-box .su-box-content {
      background-color: yellow;
    }

    Then, apply or remove the custom class on shortcode:

    [su_box] This is a regular box [/su_box]
    
    [su_box class="my-yellow-box"] This box has yellow background [/su_box]
    Thread Starter lcool3

    (@lcool3)

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Choose between Custom CSS shortcode and Original Shortcode’ is closed to new replies.