Changing background from wooden floor (CSS question)

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
XCFRES
Posts: 4
Joined: 29 August 2016, 16:12

Changing background from wooden floor (CSS question)

Post by XCFRES »

Hello,
Does anyone have boilerplate CSS which I can use to replace the woodenfloor background with something hosted off site?
Something that also changes the background when playing games.

Thank you
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: Changing background from wooden floor (CSS question)

Post by Tisaac »

XCFRES wrote: 16 January 2022, 23:48 Something that also changes the background when playing games.
Not a good idea, game developpers are constructing the UI with a fixed background in mind, weither it's the wooden floor or another one (many new games are using their own background). Modifying the background might make the game really hard to play if the colors/theme is not matching the game.
User avatar
XCFRES
Posts: 4
Joined: 29 August 2016, 16:12

Re: Changing background from wooden floor (CSS question)

Post by XCFRES »

Tisaac wrote: 17 January 2022, 07:55
XCFRES wrote: 16 January 2022, 23:48 Something that also changes the background when playing games.
Not a good idea, game developpers are constructing the UI with a fixed background in mind, weither it's the wooden floor or another one (many new games are using their own background). Modifying the background might make the game really hard to play if the colors/theme is not matching the game.
Does this mean the CSS feature does not extent to the game playing surface? Or are you just advising extreme caution when changing it?
I really hate the wooden floor surface and will be willing to take try a few a few things out to make it go away
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: Changing background from wooden floor (CSS question)

Post by Tisaac »

XCFRES wrote: 17 January 2022, 08:08
Tisaac wrote: 17 January 2022, 07:55
XCFRES wrote: 16 January 2022, 23:48 Something that also changes the background when playing games.
Not a good idea, game developpers are constructing the UI with a fixed background in mind, weither it's the wooden floor or another one (many new games are using their own background). Modifying the background might make the game really hard to play if the colors/theme is not matching the game.
Does this mean the CSS feature does not extent to the game playing surface? Or are you just advising extreme caution when changing it?
I really hate the wooden floor surface and will be willing to take try a few a few things out to make it go away
Just be cautious and don't be surprised if some games looks bad with your background :)
User avatar
XCFRES
Posts: 4
Joined: 29 August 2016, 16:12

Re: Changing background from wooden floor (CSS question)

Post by XCFRES »


Just be cautious and don't be surprised if some games looks bad with your background :)
I am very happy to take the risk and experiment.

If anyone has the necessary CCS to make the wooden floor go away/be replaced, please share it with me.
pjt33
Posts: 248
Joined: 05 April 2020, 15:35

Re: Changing background from wooden floor (CSS question)

Post by pjt33 »

Code: Select all

html { background: url('https://example.com/foo.png'); }
User avatar
XCFRES
Posts: 4
Joined: 29 August 2016, 16:12

Re: Changing background from wooden floor (CSS question)

Post by XCFRES »

pjt33 wrote: 18 January 2022, 14:30

Code: Select all

html { background: url('https://example.com/foo.png'); }
Thank you. I see lots of games have custom backgrounds which are not just wood, so that line of code works fine for most of the games. Thanks
Locked

Return to “Discussions”