Adding a disclaimer to a specific ticket form in Help Center Follow

Comments

4 comments

  • Avatar
    Daniel Cooper

    This is an awesome tip.  Thanks for sharing! 

  • Avatar
    Vladan Jovic

    Really great tip! Thank you for sharing! Maybe one more thing from me:

    If you want to add more disclaimers to the page it's better to use Classes instead of IDs,

    so this part from the code:

    id="disclaimer" 

    should be

    class="disclaimer"

    and

    #disclaimer { color: red; }

    to this

    .disclaimer { color: red; }
  • Avatar
    Leah

    Great suggestion, Vladan! One thing to look out for when using classes is specificity issues. If you're using the Copenhagen theme, there's some default styling that will override 

    .disclaimer { color: red; }

    so, for the Copenhagen theme, you'd need to use something like

    .form-field .disclaimer  {color: red;} 

     to have your styling show up in the form field!

     

     

  • Avatar
    Vladan Jovic

    Ahhh, good catch, Leah! 

Please sign in to leave a comment.

Powered by Zendesk