Jump to content
  • 1

Hiding the Season tab on the roster widgets

Rob Bedeaux


Have you ever wanted to create roster widgets and stick them in a tab element? It's a great way to save space. However, each tab will have a table (presumably what would normally be in the top of the roster widget). Since that would look silly, here is a bit of code to hide the label on the roster widget


[id^="widget_roster_widget"] .sportTableLabel {
   display: none}






Rob Bedeaux (he/him/his)

Director, Content Marketing & Strategy

E rob.bedeaux@nbcuni.com



Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Hi Robb,


I took a look at this, and the id for a statistics widget is: "widget_player_stats_widget" 


Here's the full code snippet: 


[id^=widget_player_stats_widget] .sportTableLabel {

display: none}




Before inserting code in page head code:


After inserting code in page head code:


Screen Shot 2016-05-19 at 12.47.42 PM.png 

- Loren


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...