Page 1 of 1

Custom Theme For Games

Posted: 01 May 2020, 18:57
by Lalimec
I want to change the background for a specific game with css but i can't find any classes or ids for game backgrounds. It just pulls the main body background code. Can you guys explain me how to do that?

Re: Custom Theme For Games

Posted: 03 May 2020, 15:24
by Lalimec
I'm sure someone has at least some idea, at least the game devs. Why the hell no one gives a damn?

Re: Custom Theme For Games

Posted: 03 May 2020, 20:26
by fafa-fr
Lalimec wrote: 01 May 2020, 18:57 It just pulls the main body background code. Can you guys explain me how to do that?
I'm not sure I understand what you mean by "It just pulls the main body background code".
I must admit that I never tried to use custom css, so I don't know what you need exactly to do that. For instance, for Race for the Galaxy, there are some div's that have for id "pagesection_gameview", "game_play_area_wrap", "game_play_area" and "game_play_area_background" (with no class). Is it enough for what you're trying to do?

Re: Custom Theme For Games

Posted: 07 May 2020, 01:51
by Lalimec
I changed my bg using "body" tag. The problem with some other games that they also use body tag from a different css file (probably game spesific css). Since both main site and the game bg uses body tag, my code overrides the game bg. You can try "Not Alone" as an example.

Re: Custom Theme For Games

Posted: 09 May 2020, 10:36
by pjt33
You probably want to vote for https://boardgamearena.com/bug?id=13845

Re: Custom Theme For Games

Posted: 09 May 2020, 13:39
by fafa-fr
Lalimec wrote: 07 May 2020, 01:51 Since both main site and the game bg uses body tag, my code overrides the game bg.
Ok now I understand. I don't know how the tools to apply user-defined css work, is it possible to add some stylesheets depending on the url?
Anyway I've just voted for the suggestion mentionned by pjt33.

Re: Custom Theme For Games

Posted: 09 May 2020, 14:16
by Lalimec
pjt33 wrote: 09 May 2020, 10:36 You probably want to vote for https://boardgamearena.com/bug?id=13845
Exactly, that would be a propper solution.

Re: Custom Theme For Games

Posted: 13 May 2020, 18:01
by Coin-coin le Canapin
I agree that would be very useful!