Ricerche recenti


Nessuna ricerca recente

Add Colored Notes in Articles



Data ultimo post: 16 mag 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 commenti

Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post