Jump to content
Sign in to follow this  
claudeman1

Text Formatting in Boxes

Recommended Posts

Rob

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


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
claudeman1

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

Share this post


Link to post
Share on other sites
batman

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

;)


Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
claudeman1

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
evan

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!

  • Like 1

Share this post


Link to post
Share on other sites
Danny

The topic was marked as resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • yemoonyah
      By yemoonyah+
      Hi, even though I just got a SSL certificate, I can't get the green padlock to appear due to the following error:
      :A file with an insecure url of "http://yemoonyah.com/wp-content/plugins/pl-section-boxes/check.svg" was loaded via the javascript file: https://yemoonyah.com/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere."
      I figured if I delete and re-install the plugin it might fix the problem but will my boxes on the website still be there? Or do I have to redesign everything all over again if I delete the plugin and then re-install it?
    • Audun MB
      By Audun MB+

      Here:http://attac.no/global-ulikhet/
      The images are forced into a boxed frame so that you can't see the whole picture. Doesn't look so good. Is this a bug? A feature? How can I fix it?
    • JudithKlinger
      By JudithKlinger+
      The recent WP update seems to be quite cheeky...messing about with a number of things. 
       
      Having trouble with boxes displaying differently in different browsers.  1st screen shot is Chrom...looks ok. 
      2nd screenshot is Firefox...colors are different. Icons are different. Have weird 1000's next to the icons. Any idea what's going on? 
       
      Thanks!! 
      Judith
       
       


    • richardjacruz
      By richardjacruz+
      Someone reported this little bit of weirdness to me today. They were using Internet Exporer. I used an emulator, and I received the same result. Please see the attached.
      The website is richcruzchicago.com.
      Thanks,
      Rich

    • Susan
      By Susan+
      Everything was fine with my site.
      Suddenly, strange characters are appearing in Boxes. See image. Site page is here. I even tried to add a new Boxes section but the same thing keeps happening, so I deleted the new section.
      How can I resolve this?
      Your help is greatly appreciated.
      Thank you.
       
       

×