Implementing Code
-
While searching for plugins, I stumbled upon this: https://www.serradinho.com/Blog/thesis-tutorial-styling-of-note-alert-and-other-boxes-in-posts.htm
That is a code to implement onto a Thesis theme, however, I don’t own or use Thesis. What is the WordPress equivalent to custom.css on thesis?
If you go to that link and read what it’s about, then you’d know what I’m talking about.
I want to add that code to a file so that when I’m posting, I can say [alert=Hello![/alert]
And a box would appear saying (with an alert symbol next to it)
Hello!
The coding is below.
<p class="note">This is an example of the alert box that will appear in my posts.</p> .custom .format_text p.note {background: #E3F0F2 url(images/note.png) center no-repeat; border: 1px solid #66CCCC; background-position: 7px 50%; text-align: left; padding: 10px 10px 10px 45px; -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; -webkit-border-top-left-radius:4px; -webkit-border-top-right-radius:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px;}
<p class="alert">This is an example of the alert box that will appear in my posts.</p> .custom .format_text p.alert {background: #ffffa0 url(images/alert.png) center no-repeat; border: 1px solid #E6DB55; background-position: 7px 50%; text-align: left; padding: 10px 10px 10px 45px; -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; -webkit-border-top-left-radius:4px; -webkit-border-top-right-radius:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px;}
Can anyone help me out with this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Implementing Code’ is closed to new replies.