Your REW Site: Styled Call-out Boxes

Posted Jun 5, 2008 @ 12:41 pm, Viewed by 2066 Visitors, Read 2336 Times.

Your content will look prettier, better organized, and more professional if you can put calls to action (or other distinct units of text) into their own boxes within the body, like this:

 example of a styled callout box

 

Your Real Estate Webmasters site, whether it's a templated design or fully custom, comes pre-installed with at least 3 options for this kind of callout box. There are two CSS classes ("highlight" and "important") and the HTML "blockquote".

 

Blockquote

This markup should create an effect on any html page, indenting the text contained within it. REW sites format blockquotes as a box with a thin black border and a quotation mark graphic, like this:

 

 

To put text in a blockquote, just surround it with the blockquote tags:

       <blockquote>Your text here.</blockquote>

NOTE! This will not work within our LEC templates (limited edition customs). To make the blokquotes work in the LEC's, you have to include paragraph tags within the blokquote tags, like this:

       <blockquote><p>Your text here.</p></blockquote>

 

Classes: "Highlight" and "Important"

In your HTML, you can place the "class" attribute onto a block of text or a div. Then, you specify which class it will be. It's easy:

      <p class="highlight">Your text here.</p>

      <p class="important">Your text here.</p>

These two classes should put your text into shaded boxes, each with its own distinct colour. Here are examples:

 

 

As I mentioned, you can assign these classes to more than one paragraph, by putting them onto divs instead of paragraphs.

      <div class="highlight">
      <p>A paragraph.</p>
      <p>A second paragraph.</p>
      </div>

This will produce an effect like this:

 

  • Rate this Post!
  • Print

7 Responses to “Your REW Site: Styled Call-out Boxes”

Great tutorial Gerry, thanks

Posted 1 year ago

Thanks Gerry!  For all the html I fool around with (I'm not good but have gotten better over the years) this is what I could never quite figure out.  I've got some playing around to do.

Posted 1 year ago

Gerry: I got your email and I have used the Blockquote and Highlight tags in the past on my testimonials page - http://www.davishomes2sell.com/testimonials.php

I will take some time in the next few days and try the "Important" tag.

Please keep these tips coming as it sure helps out those of us that are somewhat HTML challenged.

Posted 1 year ago
photo Troy

For some reason, we can not get the <blockquote> to work properly. In the WYSIWYG backend CMS it works, but when we apply it, it doesn't show up on our website. Any suggestions?

Posted 1 year ago

Troy, you should post that issue in the work orders forum:

http://www.realestatewebmasters.com/current-projects-forum.html

Or call our CSR department at 250-753-9893.

Posted 1 year ago

If it is not functioning it should be posted in the CMS 2.0 forums not the work orders forum, or as Gerry says you can call CSR as well, they can help.

Posted 1 year ago

If anyone else is having the same problem that Troy had, try putting paragraph tags within the blockquote tags, like this:

<blockquote><p>Your text here.</p></blockquote>

Posted 10 months ago
REW Blogs User Stats
Currently Online Users: 0
Total Users: 2,389
Entries: 7,605
Unique Views: 6,448,609
Total Views: 6,786,387
Total Comments: 9,372
Total REW Points: 510
GerryThomasen

GerryThomasen Gerry manages production at Real Estate Webmasters. Read More

This User's Stats
Blog Entries: 5
Average Blog Rating: 1
Unique Views: 5,856
Total Views: 6,587
Comments Posted: 36
Comments Received: 45
REW Points: 0