Custom Theme For Games

Discussions about BGA (all languages)
Forum rules
Warning: challenging a moderation in Forum = 10 days ban
More info & details about how to challenge a moderation: viewtopic.php?p=119756
Locked
User avatar
Lalimec
Posts: 13
Joined: 16 August 2016, 13:34
Location: Turkey

Custom Theme For Games

Post 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?
User avatar
Lalimec
Posts: 13
Joined: 16 August 2016, 13:34
Location: Turkey

Re: Custom Theme For Games

Post by Lalimec »

I'm sure someone has at least some idea, at least the game devs. Why the hell no one gives a damn?
User avatar
fafa-fr
Posts: 383
Joined: 22 December 2013, 21:58

Re: Custom Theme For Games

Post 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?
User avatar
Lalimec
Posts: 13
Joined: 16 August 2016, 13:34
Location: Turkey

Re: Custom Theme For Games

Post 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.
pjt33
Posts: 248
Joined: 05 April 2020, 15:35

Re: Custom Theme For Games

Post by pjt33 »

You probably want to vote for https://boardgamearena.com/bug?id=13845
User avatar
fafa-fr
Posts: 383
Joined: 22 December 2013, 21:58

Re: Custom Theme For Games

Post 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.
User avatar
Lalimec
Posts: 13
Joined: 16 August 2016, 13:34
Location: Turkey

Re: Custom Theme For Games

Post 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.
User avatar
Coin-coin le Canapin
Posts: 163
Joined: 31 January 2013, 19:00

Re: Custom Theme For Games

Post by Coin-coin le Canapin »

I agree that would be very useful!
Locked

Return to “Discussions”