Break a Button value into two lines

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
jPaul
 
 
Posts: 92
Joined: Thu Jun 10, 2021 11:00 am

Break a Button value into two lines

Post by jPaul »

Hi Everybody,

I have a button. The value of this button is "Forgot Password?".

How can I break this value into two lines? Can I centre the two lines?
Forgot
Password?
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
User avatar
AliGW
 
 
Posts: 651
Joined: Thu Dec 19, 2024 3:41 pm

Re: Break a Button value into two lines

Post by AliGW »

Alignment is on the Style tab.

Type "Forgot Password" into the Value box in the button dialog.
Right-click the button and select Object HTML.
In the CSS tab, paste:

Code: Select all

 white-space: normal;
 width: 120px;
It should work in preview, but not on the WWB page.

I can't vouch for it working across browsers or on mobile, but you can publish a test page to check that yourself.

https://stackoverflow.com/questions/746 ... iple-lines
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
BaconFries
 
 
Posts: 6274
Joined: Thu Aug 16, 2007 7:32 pm

Re: Break a Button value into two lines

Post by BaconFries »

Probably the easiest way to achieve is to just use a themeable Button.
User avatar
AliGW
 
 
Posts: 651
Joined: Thu Dec 19, 2024 3:41 pm

Re: Break a Button value into two lines

Post by AliGW »

Which one is that in the Toolbox? I can't see an object with that name.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
BaconFries
 
 
Posts: 6274
Joined: Thu Aug 16, 2007 7:32 pm

Re: Break a Button value into two lines

Post by BaconFries »

Somethings just stick in memory but it is now called icon button See the following:
Image
User avatar
AliGW
 
 
Posts: 651
Joined: Thu Dec 19, 2024 3:41 pm

Re: Break a Button value into two lines

Post by AliGW »

Mmm ... I was looking for Themeable Button.
:)
I didn't realise that an icon button could exist without an icon - we live and learn!!!
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Post Reply