• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Enterprise Pro theme – text formatting

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Enterprise Pro theme – text formatting

This topic is: resolved

Tagged: Enterprise Pro, styling, text

  • This topic has 16 replies, 7 voices, and was last updated 9 years, 9 months ago by Gary Jones.
Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • February 5, 2014 at 3:22 pm #88833
    jhguynn
    Member

    I'm using the Enterprise Pro theme and have noticed that when I begin a new sentence after a period, the double space I enter after the period and before the new sentence gets ignored when published and viewed in a browser. It looks like the following:

    "...end of sentence.Then begins a new sentence..."

    WTF? Is there a styling configuration I missed somewhere, because this is unacceptable. Thanks for the help.

    February 5, 2014 at 3:43 pm #88835
    efuller
    Member

    Please provide a link for troubleshooting purposes.

    - Eric


    I am a web developer

    February 5, 2014 at 3:54 pm #88837
    jhguynn
    Member

    Sorry. The site is not yet live. Localhost.

    February 5, 2014 at 4:00 pm #88840
    efuller
    Member

    How are you entering the text?

    Are you entering it straight from the WP editor? Are you copying and pasting it in?


    I am a web developer

    February 5, 2014 at 4:13 pm #88842
    jhguynn
    Member

    I'm typing it right into the text editor. No copy / paste. No visual editor. I tried wrapping the paragraphs in p tags thinking that might trigger some universal formatting or something, but no change.

    February 5, 2014 at 5:14 pm #88850
    eamonmoriarty
    Participant

    As far as I know if you use the text editor (as opposed to the visual editor), no matter how many spaces you type in, only one will show up.
    Perhaps this is because most typography experts insist that there should be only one space after a period.
    Have you tried using the visual editor? This will usually insert as many spaces as you want.


    Eamon Moriarty
    EM Dzine

    February 6, 2014 at 5:37 am #88925
    jhguynn
    Member

    Switching to the visual editor did the trick, but what rubbish.

    I never use the visual editor, as I code a lot of things by hand. In fact, I always disable the visual editor. So this means I have to go back through all my pages and posts and re-save them in visual editor mode just to get the text formatted correctly? This sucks.

    Anybody have a solution?

    February 7, 2014 at 3:54 pm #89217
    jhguynn
    Member

    Bump.

    I really need to get an answer to this issue. I'm using Enterprise Pro and when I use the text editor, no spaces are retained after the "." at the end of a sentence and the beginning of the next sentence. I found that if I switch to visual editor and enter text, a single space can be retained, but for lots of reasons I usually deactivate the visual editor and use only the text editor.

    Genesis is such a spectacular vehicle for web design...please tell me I'm not tethered to the visual editor just to enter text the way I'd like.

    I welcome any clarification to help me out of this mess. Thanks.

    February 7, 2014 at 4:39 pm #89226
    Ozzy
    Member

    Sorry that you're having this issue. Do you have a link to the site in question yet?

    If not, is this happening on the home page, single post page or blog page?


    Ozzy Rodriguez | Twitter | Google+

    February 7, 2014 at 5:25 pm #89244
    Ozzy
    Member

    I don't think this is a Genesis or Enterprise Pro thing, as it is a WordPress thing.

    http://wordpress.org/support/topic/weird-spacing-between-sentences


    Ozzy Rodriguez | Twitter | Google+

    February 7, 2014 at 5:28 pm #89245
    jhguynn
    Member

    Ozzy: I think you're right about it being a WP issue, and not a theme issue. I'm messing around with the plugin raw html to see if that removes the WP idiosyncracies. I'll report back here if I learn anything.

    PS: I'm developing the site localhost, so I have no link to provide. If the issue persists after I go live, I'll provide a link then. This formatting problem is happening on static pages and on posts. I don't use frontpage at all.

    February 7, 2014 at 5:34 pm #89247
    chillybin
    Member

    You could always disable autowp using something like

    http://davidwalsh.name/disable-autop

    or use this to toggle it on and off for each post/page

    http://wordpress.org/plugins/toggle-wpautop/


    We are a web design & development consultancy based in Singapore who specialise in all things WordPress & Genesis. | ChillyBin Web Design & Consultancy: http://www.chillybin.com.sg | Twitter: @chillybindesign

    February 7, 2014 at 5:42 pm #89249
    Gary Jones
    Member

    It's not a WordPress thing. It's a HTML thing. Whitespace is collapsed (normalized) within textual content, down to a single space. When you use the visual editor, if you check the source, I bet it's " ", which is a space, followed by a forced non-breaking space.

    HTML is correct here, and your insistence for double-spacing after full stops is incorrect. It originated from typewriters, which use a monospace font (where the width of a letter i, would be the same as an O for instance). Since your general text (not code snippets) will be using a variable-width / proportional font, the spacing around and particularly after a period is such that the new sentence already stands out.

    The HTML4 spec has some details, though it may also be in earlier specs:

    http://www.w3.org/TR/html4/struct/text.html#h-9.1 - "In particular, user agents should collapse input white space sequences [which includes the space character] when producing output inter-word space."

    In short, your browser is correcting what you might be able to hack around with the visual editor, but for the sake of consistency, you should only use single spaces after full stops.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    February 7, 2014 at 7:29 pm #89283
    jhguynn
    Member

    Gary Jones, thanks for the detailed response, lot's of good info there. FYI: I'm not hell bent on getting two spaces after the period of a sentence. Heck I'd settle for just one space. But I'm getting ZERO! Unless I use the visual editor, which allows me one space between sentences, I get nada from using the text editor, no matter how many spaces I type in.

    As I said above, I prefer to disable the visual editor and work in text mode only. I just can't wrap my head around why it won't allow even one space after the end of a sentence.

    Chillybin: thanks for the tip re: disabling wpautop. I gave it a shot but it doesn't seem to have any effect over the "space between sentences" issue. Please elaborate on this if you think I'm missing something.

    The search for a global answer continues, until them I'll dabble in the visual editor.

    February 7, 2014 at 8:17 pm #89286
    Sridhar Katakam
    Participant

    That is not supposed to happen and I have never seen it happen in a WordPress site I worked in the last 8 years. I too always use the Text view.

    Can you try deactivating all plugins?


    Genesis Tutorials | Follow me on Twitter

    February 8, 2014 at 7:51 am #89330
    jhguynn
    Member

    Sridhar:

    I deactivated ALL plugins and still see the same result. I'm developing the site localhost, so I just moved all plugins into a folder outside the website and refreshed. This is weird.

    I note that when I use the visual editor and save to get the single space entry, it sometimes looks pretty narrow depending on the letter of the alphabet used fro the first character of the new sentence. I suppose this is all a part of the current typography.

    Thanks, Jeff.

    February 8, 2014 at 8:05 am #89333
    Gary Jones
    Member

    One quick tip is to just rename the plugins directory to pluginsX, and then visit the Plugins page. You'll get a load of red alerts warning that each plugin has been disabled. No need to actually move the individual plugin files themselves.

    Can you try commenting out all typography styles - particularly font-face, so that it uses the browser default? Or use the browser Inspector to change it to something standard like Arial or Helvetica, or a general sans-serif.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

  • Author
    Posts
Viewing 17 posts - 1 through 17 (of 17 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble