Add Colored Notes in Articles



Gepostet 16. Mai 2017

Our team adds context to our articles by adding colored notes in our articles.  You can do this as well by following the below instructions 

Add CSS to your theme

  1. Click on Guide admin
  2. Click Settings
  3. Click Customize theme
  4. Click Edit theme
  5. Select the CSS tab
  6. Paste the following CSS code at the bottom of your code

 

/*Colored Notes Style*/

blockquote.important {

                background-color:pink;

                border: red solid 1px;

                padding:10px;

                margin:10px;

                color:black;

                font-style:italic;

                text-align:left; 

}

 

blockquote.fyi {

                background-color:lightblue;

                border: blue solid 1px;

                padding:10px;

                margin:10px;

                color:black;

                font-style:italic;

                text-align:left;

}

 

  1. Click Preview
  2. Click Publish

 

Add some classy blockquotes

  1. Edit an article you want to add a colored note to
  2. Click the Source Code button
  3. Surround your note with the following code replacing ADD YOUR NOTE HERE with your message

 

<blockquote class=”important”>ADD YOUR NOTE HERE</blockquote>

 

Change the class to “important” for a pink note.

<blockquote class=”important”>You really need to know this</blockquote>

Change the class to “fyi” for a blue note.

<blockquote class=”fyi”>This is good to know, but not imperitive</blockquote>


2

19

19 Kommentare

Cool, just checking. Thanks for replying!

0


Hey Jennifer,

You are right, users have to download one of our themes to make it work. 

 

Best, 

Lotus Themes Team

0


I love how you expanded the callouts LotusThemes.  These look great!

0


Hey LotusThemes,

Thanks for sharing!

I like the way your note styles look. How do we get the CSS for them? (Do users have to download one of your themes to make it work?)

Thanks!

0


Thanks for sharing this additional information, Lotus! If you wanted to post a write-up of this in the Tips & Tricks section so members can see it without having to navigate away from the Community (with a link to the original source, of course!), that would be awesome! You'll get some thank-you swag, too. ;)

0


Great tip, Tina, thanks for sharing! Would like to add some more tips.

To take this further, you can add callout blocks where you can use different colors and frames to separate instructions, important links or call to action segments and direct your visitors to the sections of your pages that give you greatest gain and convey the message that you want to.

Learn how to use various callout blocks in Zendesk help center

Some examples:

Best, 

Lotus Themes Team

0


Very nice thanks for sharing Tina!

0


Awesome tip, Tina!  Our Zendesk is better because of the time you've put into this.

0


Great tip! thanks for posting, Tina.

0


Anmelden, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post