-
Website
http://www.buildingcamelot.com/ -
Original page
http://www.buildingcamelot.com/2009/01/06/how-to-add-icons-to-your-thesis-alert-and-note-styles/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Andy Warner
2 comments · 1 points
-
BuckDaddy
5 comments · 6 points
-
Tyler Wainright
10 comments · 1 points
-
DCUrbanDad
4 comments · 1 points
-
brentDenver
2 comments · 1 points
-
-
Popular Threads
<abbr>Jon @ DadTreks last blog post..Two Secrets for Making 2009 Your Best Year Ever as a Dad</abbr>
<abbr>Rick Beckmans last blog post..Shared Items for 2009/01/06</abbr>
Nicely done. :)
<abbr>kristarellas last blog post..Photography with a capital ‘P’</abbr>
@Rick: Sweet - thank you. I'm glad I could contribute a little to the Thesis community.
@kristarella: I started using some sort of alert on an older theme and almost forgot about theme until I installed Thesis. That's why I dug up the old code and wanted to adapt and share it with you. I love what you've done with your install by the way.
<abbr>Katrina @ Callapidder Dayss last blog post..Not quite ready</abbr>
How do you call on the 'Alert' and 'Note' classes in a post?
<abbr>FirstDayBlacks last blog post..Wie mans nicht machen sollte…</abbr>
Also, replace "alert" with "note" to get the different effect. That should do the trick. Let me know how it works out for you.
@FirstDayBlack: Good to hear - glad I could help out.
Thanks a lot.
<abbr>Ben Goheens last blog post..How to Buy Homeowners Insurance</abbr>
Is there any way to make the yellow box extend over several paragraphs, or several items in ordered or unordered lists?
Basically, I want to give the whole post a yellow background or put it in a yellow box.
Let me know if you do this - I'd like to know how it works out.
.custom .format_text p.note {
background: #f5f5f5 url('###http://www.nokiamobiletalk.com/wp-content/uploads/2009/05/newspaper-32.png###')
center no-repeat;
border: 2px solid #ddd;
background-position: 7px 50%; /* x-pos y-pos */
text-align: left;
padding: 5px 5px 5px 45px;}
-------------------
.custom .format_text p.note {
background: #f5f5f5 url('http://www.nokiamobiletalk.com/wp-content/uploads/2009/05/newspaper-32.png')
center no-repeat;
border: 2px solid #ddd;
background-position: 7px 50%; /* x-pos y-pos */
text-align: left;
padding: 5px 5px 5px 45px;}
And the alert and note show up but it extends horizontally across the sentence, yours seems to be all compacted and nice looking, mine is just a huge long extended box for 4 words, so I'm like hmmm, what's going on here I thought mine would show just like yours. Anyway I appreciate your insight. Thanks