Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Text Formatting in Boxes


Question

7 answers to this question

Posted · Report post

If you use Firebug (http://www.getfirebug.com) you can use it to style the elements you wish inside boxes, including text formatting.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks. Do you know where I'd find the default styling for boxes?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi claudeman1

It is advisable to learn how to do this on your own too.

Check out http://www.pagelines...wiki/Custom_CSS

Please see the video

;)

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks. I know how to use CSS. I'm wondering why the boxes treat content differently by default; or more precisely, where (if someone happens to know offhand) the default styling for boxes is located so that I might remove it.

Blank lines, for example, which pages and posts render as paragraph tags are ignored by boxes.

Share this post


Link to post
Share on other sites

Posted · Report post

Hey Claudeman,

The reason boxes don't output content the same way that wordpress posts/pages do is that the output is not run through the wordpress content filters like auto paragraphs and wp_texturize, etc. The content is taken as is and shortcodes are processed, that's it. So treat them as strict html.

You may consider using a plugin like "Simple Breaks" for adding simple stuff like line breaks using shortcodes that won't be stripped out by switching between the html & visual editors.

Hope that helps!

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites