Skip to main content
14-Alexandrite
August 18, 2020
Solved

How can I change a tab widget content's margin?

  • August 18, 2020
  • 1 reply
  • 1634 views

Using the Tabs widget in ThingWorx 8.5.7, it adds a 20px margin around the content of each tab.  Is there a way to remove or reduce that margin?

 

DanWolf_0-1597772432075.png

 

 

I found another topic here about adjusting the margin in a Tabs widget with a solution of the custom CSS below, but adding that CSS doesn't change anything for me.

 

ptcs-page-select::part(pages)

{

margin: 10px !important;

}

Best answer by VíctorMartín

Try with this:

 

.widget-ptcstabset::part(pages) {
margin: 0px !important;
}

 

It worked for me in TW 9.

1 reply

1-Visitor
April 20, 2021

Try with this:

 

.widget-ptcstabset::part(pages) {
margin: 0px !important;
}

 

It worked for me in TW 9.

DanWolf14-AlexandriteAuthor
14-Alexandrite
April 21, 2021

Thanks!