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.

Button text not responding to change in screen size

10 years ago · Last reply by Support Assistants 10 years ago

Hello,

I’m using the button widget from the Site Origin bundle and when I have the window on full screen, everything looks great. However, when I make the window smaller, everything on my page scales down properly, including the buttons, but the text on the buttons stays exactly the same size. This means that it doesn’t fit on the buttons and the line breaks halfway through words, so it’s now displayed as:

HANDHE
LD BRE
ATHALY
SERS

instead of:

HANDHELD
BREATHALYSERS

Is there a way to make the text respond with the rest of the page? I’m fairly new to WordPress so apologies if there’s a really obvious answer to this! But any help would be appreciated :)

LS

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

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Support Assistants 10 years, 2 months ago

    Hi Louisesinclair

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. louisesinclair Private 10 years, 2 months ago

    This is a private message.

  3. Support Assistants 10 years, 2 months ago

    Thanks. We’ve tested in OS X Chrome, Safari and Firefox as well as iOS Chrome and haven’t been able to reproduce. The problem might be that your theme is adding the following:

    body,
    button,
    input,
    select,
    textarea {
    	color: #444444;
    	font: 16px 'Open Sans', serif;
    	line-height: 1.6;
    	word-wrap: break-word;
    }

    word-wrap: break-word; is the problem. Try adding the following to a Custom CSS field in theme settings or to a Custom CSS plugin like SiteOrigin CSS:

    button {
        word-break: normal;
    }

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