Hosted button in Layout grid, Label text disappears

Issues related to forms.
Post Reply
WindeSpirit
 
 
Posts: 13
Joined: Fri May 05, 2017 10:16 pm
Location: NE Dallas, TX
Contact:

Hosted button in Layout grid, Label text disappears

Post by WindeSpirit »

I'm using a paypal hosted html button and it works and displays fine on the page by its self. When placed inside a layout grid the Label name text disappears from the web page view so customers can not easily see what is being asked of them to select, only the selection boxes and button display, but no Label name text of what it's for.
Testing the html button does still work along with choosing selections, it is just the text from the Label name tag is not displayed when the html is place inside the layout grid.

I'm still using WB14 and can't afford upgrading at this time, but would WB15 even fix the issue?
Is there something else I'm missing or code I need to add to the html?
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hosted button in Layout grid, Label text disappears

Post by Pablo »

If you place HTML code inside a Layout Grid then the code should have a font-size otherwise it will inherit the size from the grid which is 0 pixels.
WindeSpirit
 
 
Posts: 13
Joined: Fri May 05, 2017 10:16 pm
Location: NE Dallas, TX
Contact:

Re: Hosted button in Layout grid, Label text disappears

Post by WindeSpirit »

Thank you Pablo.
Fixed and displaying as should be now :)
bkjohns
 
 
Posts: 296
Joined: Wed Nov 14, 2018 5:54 pm

Re: Hosted button in Layout grid, Label text disappears

Post by bkjohns »

Pablo wrote: Thu Sep 26, 2019 6:12 am If you place HTML code inside a Layout Grid then the code should have a font-size otherwise it will inherit the size from the grid which is 0 pixels.
Just curious as to why the default size in a layout grid is 0. Why not 10 or something like a text box?
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Hosted button in Layout grid, Label text disappears

Post by Pablo »

Just curious as to why the default size in a layout grid is 0
Because otherwise the fonts-size would affect the size of the grid. There would be extra spacing (with the size of the font).
Post Reply