Todos os relatórios
website BGA
#14908: "Custom CSS not working"
Sobre o que é este relatório?
O que aconteceu ? Por favor escolha abaixo
Algo não funcionou corretamente durante o uso do site (não durante um jogo)
Descrição detalhada
• Por favor copie e cole a mensagem de erro que aparece na tela, se possível.
none• Por favor explique o que queria fazer, o que fez e o que aconteceu
use custom css• Qual navegador você está usando?
Google Chrome v80
Histórico do relatório
Sly0001 • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
28 mar 2020 16:29 • Custom CSS entered in then preferences section does not work. The content is inserted as plain text in the HTML document (no <style> tag). If I add the style tag, then the tag is encoded (and it does not work).
Blacktango • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
28 mar 2020 23:26 • Same here with Firefox 74.0
It was working, until I come back on the custom css settings page (after 2 years out from bga). Then it doesn’t work anymore and the CSS display as plain text.
It was working, until I come back on the custom css settings page (after 2 years out from bga). Then it doesn’t work anymore and the CSS display as plain text.
Qwouerty • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
8 abr 2020 22:21 • Same bug with Firefox 75.0. EIther CSS entered is inserted as plain text or the following error is displayed : Error while processing Database request.
NotKyle1982 • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
17 abr 2020 3:34 • I have the same issue. I enter text into the textbox and it is written to the screen, as seen in the imgur link.
imgur.com/a/kdGgPCq
imgur.com/a/kdGgPCq
NotKyle1982 • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
17 abr 2020 3:47 • I used "View Source" which opened in Chrome as view-source:boardgamearena.com/preferences?section=advanced ; the text I entered for the custom CSS is written out after the line
<link rel="stylesheet" type="text/css" href="x.boardgamearena.net/data/themereleases/current/css/libraries.css?1"/>
imgur.com/a/SiLmS6P
<link rel="stylesheet" type="text/css" href="x.boardgamearena.net/data/themereleases/current/css/libraries.css?1"/>
imgur.com/a/SiLmS6P
arksand • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
21 abr 2020 15:05 • same here. On very first save it was fine, then it broke and did as the others suggest above (writing CSS to screen)
lesuedois • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
8 mai 2020 23:28 • Workaround: This bug is actually present only on the "custom CSS" page. If you save and navigate to another page AND refresh that page it will work (you have to refresh! that's what got me)
Blacktango • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
18 mai 2020 0:28 • @lesuedois Oh, you’re right, thx!
Shame I remove my CSS already : (
Shame I remove my CSS already : (
Paul_Chelsfield • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
6 jun 2020 15:21 • Yeah, it needs a note saying that you need to perform a manual page refresh on a page OTHER than the custom CSS page to apply the custom CSS rules...
But perhaps more worrying, if you then try to visit a bug report page (such as this one) then you receive the error:
"Sorry, an unexpected error has occurred...
You cannot access this section because you are using some custom CSS (see Preferences > Advanced)"
But perhaps more worrying, if you then try to visit a bug report page (such as this one) then you receive the error:
"Sorry, an unexpected error has occurred...
You cannot access this section because you are using some custom CSS (see Preferences > Advanced)"
timmc • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
19 jun 2020 23:49 • Further notes on workaround: You need to actually visit your *own* custom CSS link in order to set your preference for the site, e.g. boardgamearena.com/?use_custom_style=12345 -- after that, the style will be applied.
Very weird.
Very weird.
E8zEbo8Luna • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
18 abr 2021 22:56 • @timmc
that has the same effect as not using the link
that has the same effect as not using the link
augustin F • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
2 mar 2022 18:58 •
2 mar 2022 18:59 • I just tried this: html {background-color:#FF5733;} (color is just a random one) but it didn't work so i came here but i got a error message saying that I couldn't acces here because of my custom CSS...
Blacktango • Bug não foi reproduzido pela equipa de desenvolvimento ainda:
22 nov 2022 14:04 • To get your custom CSS changes applied, you have to refresh the cache of the page.
Usually, you can do it with Ctrl + F5 in your browser.
It’s the same when you remove all your custom CSS : refresh with cache clear.
To avoid people complaining about the website when they have a custom CSS, the bug area is blocked when custom CSS is ON. You have to remove it to access this section.
Also, for security reason, the custom CSS is "compiled" by BGA, to remove some attributes or directive.
(For example, you can’t @import a CSS from another server.)
Usually, you can do it with Ctrl + F5 in your browser.
It’s the same when you remove all your custom CSS : refresh with cache clear.
To avoid people complaining about the website when they have a custom CSS, the bug area is blocked when custom CSS is ON. You have to remove it to access this section.
Also, for security reason, the custom CSS is "compiled" by BGA, to remove some attributes or directive.
(For example, you can’t @import a CSS from another server.)
Adicione alguma coisa para este relatório
Por favor, adicione aqui qualquer coisa que pareça relevante para a reprodução deste bug ou o entendimento de sua sugestão:
- Outro ID de mesa / ID de jogada
- Carregar em F5 resolveu o problema?
- O problema aparece várias vezes? Sempre? Imprevisivelmente?
- Se tiver uma captura de ecrã/tela deste problema (boa prática), pode usar Imgur.com para carregá-la e copiar/colar o endereço aqui.