Skip to main content
3-Newcomer
June 1, 2022
Question

Invisible Buttons

  • June 1, 2022
  • 1 reply
  • 1993 views

I created a template with a button that drives the page to other pages (like a home page button) and I included this in a mashup template. However when I use that template to create new mashups, it makes the buttons invisible. I tried changing the style with no luck. Is there a fix to this? or do I have to make a new function and a new button for every single page I want to make?

1 reply

15-Moonstone
June 2, 2022

@JE_10167011 : Can you please send across the mashup/entities used so that I can try replicating this at my end? Also, please confirm the thingworx version.

3-Newcomer
June 2, 2022

Thingworx Version:9.3.1-b156

I used a normal button with a function to navigate with. The button then turned invisible when I use it as a new mashup from template.

12-Amethyst
June 6, 2022

It's because of your CSS within that template there. You need to also write for the text color and other things you want to do there. It's not invisible, it just doesn't have color, it's transparent. Set the

 

.myBigButtonPicture .widget-ptcsbutton {
 --ptcs-button-icon-dim: 300px;
 height: 350px;
 width: 350px;
 max-height: 350px;
 max-width: 350px;
 min-height: 20px;
 min-width: 20px;
 background-color: transparent;
 border: none;
 padding: 10px;
}

 And remember after you modify the template, you need to create the mashup from template again because it doesn't carry over. It works just like Paste.