Custom CSS - how does it work ?

Custom CSS - how does it work ?

Postby Invisible Witness » Mon Feb 08, 2021 5:42 pm

Under league options menu there is one called Custom CSS . Once you click on that it tells you how you can change the color of highlighted text. I tried messing with it but nothing changed. I'd like to mess with background color of the game, make it darker in this case but I can't figure it out.
There are also 2 files in the game folder called Default.css and Custom.css. I tried editing those but again nothing happened. Anybody familiar with that?
User avatar
Invisible Witness
Junior Member
 
Posts: 171
Joined: Tue Aug 06, 2019 6:43 pm

Re: Custom CSS - how does it work ?

Postby brooks_piggott » Mon Feb 08, 2021 6:31 pm

The custom css in game is for some of the forms and exported html.

If you want to override the in-game screens you can do something like this:

I've added a custom theme override to the game now. You'll be able to put a CustomTheme.css file in your docs/wolverine studios/ddspf21 folder that the game will pick up.

To darken the background and bold everything in the grids you could use something like:

body, .ui.table, .ui.table > thead > tr > th {background-color: #f2f3f4; color: #000; text-shadow: none; font-weight: bold;}



Unfortunately we can't really document all of the screens and options that you can use here. Some of the screens adhere to a specific design and won't pick up the changes, other screens will pick them up and look subpar, but hopefully this at least addresses some of your concerns of the main grids. Feel free to play around with the colors and font-weighting. You can also adjust the font size and other attributes if you want, but this is more of an unsupported feature, so if you get odd layouts happening on your screen, or completely mess up the screens, it's not something we can address. (i.e. I'm not going to deal with support tickets if people crank their font size up to 24 and then complain that stuff wraps and doesn't fit).
User avatar
brooks_piggott
Moderator
 
Posts: 3892
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: Custom CSS - how does it work ?

Postby Invisible Witness » Mon Feb 08, 2021 7:02 pm

Brooks_Piggott wrote:The custom css in game is for some of the forms and exported html.

If you want to override the in-game screens you can do something like this:

I've added a custom theme override to the game now. You'll be able to put a CustomTheme.css file in your docs/wolverine studios/ddspf21 folder that the game will pick up.

To darken the background and bold everything in the grids you could use something like:

body, .ui.table, .ui.table > thead > tr > th {background-color: #f2f3f4; color: #000; text-shadow: none; font-weight: bold;}



Unfortunately we can't really document all of the screens and options that you can use here. Some of the screens adhere to a specific design and won't pick up the changes, other screens will pick them up and look subpar, but hopefully this at least addresses some of your concerns of the main grids. Feel free to play around with the colors and font-weighting. You can also adjust the font size and other attributes if you want, but this is more of an unsupported feature, so if you get odd layouts happening on your screen, or completely mess up the screens, it's not something we can address. (i.e. I'm not going to deal with support tickets if people crank their font size up to 24 and then complain that stuff wraps and doesn't fit).

Thanks for info! I'll explore it.
User avatar
Invisible Witness
Junior Member
 
Posts: 171
Joined: Tue Aug 06, 2019 6:43 pm

Re: Custom CSS - how does it work ?

Postby Invisible Witness » Mon Feb 08, 2021 8:06 pm

i still dont see any changes. Need more specific instructions please. First of all where do i add this CustomTheme.css file ? I downloaded your game via Steam.
Here is where i found those css files on my computer C:\Program Files (x86)\Steam\steamapps\common\Draft Day Sports Pro Football 2021\Data\Styles
When i open that Styles folder i see 3 files there (Custom,Default and jquery). I created here another file called CustomThemes.css and made some changes but the game is not picking them up). Then i also tried editing Custom file but still no result.
Then i tried this:
In my documents there is a folder Wolverine Studio where i can find Leagues folder which contains my created leagues. if i click on one of my leagues then i can see more folders Exports,HTML and bin.file of my league. So when i click on HTML folder i can see more folder Boxscores,Coaches,Images etc. One of them is called Styles and when i click on it i see 3 files there (Custom,Default and jquery). I also tried editing stuff here but no luck.
When you get a chance if you could provide step by step instruction how to edit background color that'd be great.
User avatar
Invisible Witness
Junior Member
 
Posts: 171
Joined: Tue Aug 06, 2019 6:43 pm

Re: Custom CSS - how does it work ?

Postby brooks_piggott » Mon Feb 08, 2021 8:50 pm

A new file called CustomTheme.css needs to go in Documents\Wolverine Studios\DDSPF21 folder.

The file should have this line, or something similar to it:

body, .ui.table, .ui.table > thead > tr > th {background-color: #f2f3f4; color: #000; text-shadow: none; font-weight: bold;}
User avatar
brooks_piggott
Moderator
 
Posts: 3892
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX


Return to DDS: Pro Football 2021 General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests