cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Remove border on toggle button and 2D image

therealSy
5-Regular Member

Remove border on toggle button and 2D image

Hi,

 

I have a couple of items in the 2D border of my experience.  An image and a toggle switch.  The iamge background is transparent as set in the saved .png file and the toggle button has had it's background set to transparent in CSS as shown below.

 

//Button Class
.my-button {
font-family: Titillium Web;
color: red;
background-color: transparent;
}

 

However, I am still getting these grey lines appearing between elements in the experience.  Does anyone have any idea what they are and more importantly how to turn them off!

 

 

therealSy_0-1585840707250.png

 

Thanks,

Sy

 

1 ACCEPTED SOLUTION

Accepted Solutions
sebben
12-Amethyst
(To:therealSy)

Hi,

drag a gridLayout in you panel an put you elements in different rows. That will remove the lines.

View solution in original post

2 REPLIES 2
sebben
12-Amethyst
(To:therealSy)

Hi,

drag a gridLayout in you panel an put you elements in different rows. That will remove the lines.

therealSy
5-Regular Member
(To:sebben)

Hi,

Wonderful.  I really appreciate your help on that!

Thanks.,

Sy

Top Tags