This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Page Builder: text widget displays random line breaks mid-word

10 years ago · Last reply by Richard Gregory 10 years ago

Since I upgraded SiteOrigin Widgets Bundle to 1.5.2, text inside a SiteOrigin Headline widget – in both the head and subhead regions – now line-breaks anywhere and often in the middle of a word. When you drag to resize the width of the browser window, instead of whole words moving over to the next line, individual characters move over instead.

So far this I’ve seen this occur on Mac desktop (safari, chrome, firefox) but seems not to happen on mobile (so far, iPhone6, android, iPad tested)

Does anyone have knowledge of or a fix for this issue?

I’m running the Café Pro theme on the Genesis framework on WordPress 4.3.1

URL: http://agoodplace.sdt-lab.com/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Richard Gregory 10 years, 3 months ago

    Okay. I’ve applied a temporary fix until an update arrives. As follows:

    file: plugins/so-widgets-bundle/widgets/so-headline-widget/styles/sow-headlines.less

    Insert

    word-break: normal !important;

    insert as follows in the headline_ and sub_headline_ tags

    @{headline_tag} {
            .font(@headline_font, @headline_font_weight);
            text-align: @headline_align;
            color: @headline_color;
            line-height: 1.3;
            word-break: normal !important;
        }
        @{sub_headline_tag} {
            .font(@sub_headline_font, @sub_headline_font_weight);
            text-align: @sub_headline_align;
            color: @sub_headline_color;
            line-height: 1.3;
            word-break: normal !important;
        }

    That works for now.

    I’d appreciate some input from anyone at SiteOrigin as to whether my fix is bad code, will break anything, or if I’ve done anything contractually dumb.

    Thanks
    Richard

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread