SportsEngine Community Forum
Register Latest Topics
 
 
 


Reply
  Author   Comment  
robbedeaux

Avatar / Picture

Moderator
Registered:
Posts: 193
Reply with quote  #1 
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

Code:

<style>
[id^="widget_roster_widget"] .sportTableLabel {
   display: none}
</style>


BEFORE
Before.png 

AFTER
After.png 



__________________
Rob Bedeaux
SENIOR MANAGER, PRODUCT MARKETING
Main Office | 612.379.1030

SportsEngine | 807 Broadway St NE, Ste 300, Minneapolis MN 55413
Play Smarter. Live More.
rbattist

Junior Member
Registered:
Posts: 6
Reply with quote  #2 
Very useful Rob!  What is the id for a statistics widget?  It has the same situation

Screenshot_51.png 
loren

Avatar / Picture

Community Manager
Registered:
Posts: 213
Reply with quote  #3 
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: 

<style>
[id^="widget_player_stats_widget"] .sportTableLabel {
display: none}
</style>


Before inserting code in page head code:
Screen Shot 2016-05-19 at 12.46.01 PM.png 
After inserting code in page head code:

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

- Loren

rbattist

Junior Member
Registered:
Posts: 6
Reply with quote  #4 
Ok, I have one more: The current season's roster now has an "Active" header at the top that I would also like to remove. Thanks

Screenshot_76.png 

robbedeaux

Avatar / Picture

Moderator
Registered:
Posts: 193
Reply with quote  #5 
That's an easy one. There is a configuration for it!! In the Tool Settings, scroll to the roster section and change the Group by from Status to None.  That header will disappear then.

-rob

__________________
Rob Bedeaux
SENIOR MANAGER, PRODUCT MARKETING
Main Office | 612.379.1030

SportsEngine | 807 Broadway St NE, Ste 300, Minneapolis MN 55413
Play Smarter. Live More.
rbattist

Junior Member
Registered:
Posts: 6
Reply with quote  #6 
Thanks - After making the changes, I needed to create a new roster widget and replace the old one. Looking good!
Previous Topic | Next Topic
Print
Reply

Quick Navigation: