Hosted button in Layout grid, Label text disappears

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

Hosted button in Layout grid, Label text disappears

Post by WindeSpirit » Wed Sep 25, 2019 9:19 pm

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: 18325
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Hosted button in Layout grid, Label text disappears

Post by Pablo » 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.

WindeSpirit
 
 
Posts: 17
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 » Thu Sep 26, 2019 4:22 pm

Thank you Pablo.
Fixed and displaying as should be now :)

bkjohns
 
 
Posts: 66
Joined: Wed Nov 14, 2018 5:54 pm

Re: Hosted button in Layout grid, Label text disappears

Post by bkjohns » Thu Sep 26, 2019 8:30 pm

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: 18325
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Hosted button in Layout grid, Label text disappears

Post by Pablo » Fri Sep 27, 2019 5:36 am

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