Highlighting the background of text boxes .

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
matthewthenewbie
 
 
Posts: 19
Joined: Wed Jun 16, 2021 2:09 am

Highlighting the background of text boxes .

Post by matthewthenewbie »

Hi ,

What is the best method of highlighting the background of text or text boxes with equal padding around the text ?

I have tried doing a simple text highlight but because the text is left align the highlight only covers the text and is not straight like a square edge ( square shape ) .

I also tried to use a 50 pixels by 50 pixel colour image and stretched it out to cover the area of the text and use that as a background , however , when I upload it and compare it with a smart phone and laptop using chrome , the size comes out different .

I am looking for a simple fix if possible however if it requires a little more work I am willing to learn provided that someone is willing to teach me in simple terms or at least detailed instructions .

Any input would be greatly appreciated :)
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Highlighting the background of text boxes .

Post by Pablo »

Are you using fixed or flexible layout?

For fixed layout you can put a shape in the background.
For flexible layout you can set the background of the grid column to a different color.

Note: text will never look exactly the same in all browsers, so there is no way to get pixel perfect results unless you publish the text as an image.
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Highlighting the background of text boxes .

Post by crispy68 »

You can simply right click a text object, choose object properties and go to the style tab and select the background of your text.
matthewthenewbie
 
 
Posts: 19
Joined: Wed Jun 16, 2021 2:09 am

Re: Highlighting the background of text boxes .

Post by matthewthenewbie »

Thanks Crispy68 and Pablo ,

These methods worked , Thanks !
Post Reply