• Resolved bunday

    (@bunday)


    Hi, I’m using the Puro theme, its great and clean but when I add text to the widget area using Text the formatting is all odd. If I have Automatically add paragraphs I have to go in and adjust each line to fit correctly. Is there something I’m missing?

    Thanks
    Derek

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author Andrew Misplon

    (@misplon)

    Hi Derek

    Thanks for using Puro, glad to hear you’re enjoying the theme.

    Could you perhaps add a Text widget to a widget area, leave it formatted incorrectly and send through a link to your site so I could take a look? I’m online most of today (GMT+2) so we could hopefully get this done quickly and then remove the widget shortly after I’ve seen the problem. Let me know your thoughts.

    Thread Starter bunday

    (@bunday)

    Hi and thanks for getting back to me. Here is the page with two text widgets on it, one is with the add paragraphs selected and the other not.
    https://www.galeriasanfrancisco.com/test-formatting/

    I appreciate your help

    derek

    Theme Author Andrew Misplon

    (@misplon)

    Thanks for the testing page, much appreciated.

    When you work in the Visual tab on a page or post, WordPress is turning line breaks into paragraphs automatically. Text widget’s often get used to insert HTML, as a result they don’t insert paragraphs automatically and provide a checkbox at the bottom of the widget, leaving the setting as a user option. If the paragraphs checkbox isn’t checked you’d need to insert them manually as follows:

    <p>
    Paragraph text.
    </p>

    Or if you needed a line break within a paragraph, you’d say:

    <p>Paragraph text.
    <br />
    And now we're on the next line thanks to the break tag above.
    </p>

    In conclusion, the behaviour we’re seeing here is what I’d expect to see from a Text widget with and without the paragraph setting checked.

    If you’d like the ease of editing text in widget areas using a Visual Editor (the same one you have on pages/posts) then I’d recommend trying Black Studio TinyMCE: https://www.ads-software.com/plugins/black-studio-tinymce-widget/. Once installed the plugin will add a widget called Visual Editor. To confirm, the widget this plugin provides is not the same name as the plugin itself. Definitely one of my favourite WordPress widgets.

    Hopefully that clears things up a little. Please let me know if you have any questions about this or any other topic.

    Thread Starter bunday

    (@bunday)

    Thanks for the plugin suggestion. I installed that but am still having the issue. There is something odd going on here. when I put in the <p> and then close it at the end of the paragraph I get the same behavior I had before when I selected to automatically add paragraphs, that the words don’t line up and fall onto another line. See screenshot here:
    https://www.galeriasanfrancisco.com/wp-content/uploads/2014/12/Screenshot-2014-12-10-09.41.55.png

    I also notice that when I manually put in breaks or paragraphs into the text edit that wordpress strips them away shortly after.
    So even with manually putting in the paragraphs for the time they stay in, I get this issue with the words breaking unnaturally onto another line.
    Thanks

    Derek

    Thread Starter bunday

    (@bunday)

    Theme Author Andrew Misplon

    (@misplon)

    Thanks for explaining further and highlighting this bug. This seems to be a word-break problem, it happens in Firefox but not Chrome. I’ll be sure to resolve in the next update. For now, please insert the following into a Custom CSS plugin like:

    Jetpack Custom CSS: https://jetpack.me/support/custom-css/
    Simple Custom CSS: https://www.ads-software.com/plugins/simple-custom-css/

    /* Puro Theme: Ensure Paragraphs Break Words Normally */
    
    p {
      word-break: normal;
    }

    Apologies for the hassle.

    Thread Starter bunday

    (@bunday)

    Thanks, the custom CSS worked. I appreciate your help with this

    Derek

    Theme Author Andrew Misplon

    (@misplon)

    Super, glad to hear that did the trick.

    All the best with your project.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Formatting in the widget area’ is closed to new replies.