Forum Support

Shape 5
March 28, 2024, 12:18:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Formatting Text  (Read 722 times)
artlee
Jr. Member
**
Offline Offline

Posts: 28



« on: August 27, 2015, 02:05:25 PM »

I don't know if this question pertains to my theme, corpway, or WP. I'm still learning WP. So... I am surprised when I type text in a new page that the text can be marked as a headline (like H4) but not as a paragraph (p). And, I seem to have no control over spacing between headlines and paragraphs. When I try to add a blank paragraph with a non-breaking space, it disappears on saving. Ultimately, the text is unreadable as displayed on the front end. The fonts are fine, just the spacing stinks. Is this how corpway operates? Or, how WP operates. Not quite the average text editor, I think. I'm attaching a screenshot...
« Last Edit: August 28, 2015, 11:31:05 AM by artshotwell » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: August 27, 2015, 02:13:18 PM »

WP does some automatic formatting to page/post content on save.  That auto-formatting has broken demo content in the past, so I added a way to enable/disable it on the Advanced tab of the theme options.  Try changing the "RAW HTML" option away from whatever your current setting is, and see if that helps.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
artlee
Jr. Member
**
Offline Offline

Posts: 28



« Reply #2 on: August 27, 2015, 02:42:22 PM »

Okay, I turned off Raw HTML. Looks a little better. Should I have Demo mode enabled? I can't see that does anything one way or the other. How the heck does one throw a blank line between paragraphs? It appears WP's output has no formatting for paragraphs since they're not marked as paragraphs in the published code.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: August 28, 2015, 09:37:39 AM »

Demo mode allows you to use URL arguments (like "?lang=rtl" and "?lang=ltr") to test different settings without actually changing them in the theme options.  With it enabled, a URL argument with a name matching one of the settings will set a session override for that setting.  The function was primarily created as a way for me to showcase the flexibility of the framework in a single demo just by having custom URLs that change settings browser-side, without actually changing them on the site.

Which editor mode are you using?  If you are using the "text" mode instead of the "visual" mode, WP assumes that you are intending to do your own HTML formatting.  If you use "visual" mode, it will automatically add paragraph tags around every block of text that is separated by a new line.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
artlee
Jr. Member
**
Offline Offline

Posts: 28



« Reply #4 on: August 28, 2015, 11:30:34 AM »

Brilliant! Guess what? I've been editing in Visual, then looking in Text and saving while in that mode. From now on, I will save in Visual. HTML output looks as I would expect.

This answers my question. Solved...
« Last Edit: August 28, 2015, 11:50:12 AM by artshotwell » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: August 28, 2015, 12:14:53 PM »

Good to hear!

Locking the thread as solved/answered.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.