Všechna hlášení
BGA web
#14908: "Custom CSS not working"
Čeho se toto hlášení týká?
Co se stalo? Prosím vyberte níže
Něco nefungovalo správně při používání webové stránky (ne ve hře)
Detailní popis
• Prosím, zkopíruj a vlož hlášení o chybě, které vidíš na monitoru, pokud to lze.
none• Prosím popiš, co jsi měl v úmyslu udělat, co jsi udělal a co se nakonec stalo
use custom css• Jaký prohlížeč používáte?
Google Chrome v80
Historie hlášení
Sly0001 • Chyba zatím nebyla vývojáři reprodukována:
28. bře 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 • Chyba zatím nebyla vývojáři reprodukována:
28. bře 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 • Chyba zatím nebyla vývojáři reprodukována:
8. dub 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 • Chyba zatím nebyla vývojáři reprodukována:
17. dub 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 • Chyba zatím nebyla vývojáři reprodukována:
17. dub 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 • Chyba zatím nebyla vývojáři reprodukována:
21. dub 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 • Chyba zatím nebyla vývojáři reprodukována:
8. kvě 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 • Chyba zatím nebyla vývojáři reprodukována:
18. kvě 2020 0:28 • @lesuedois Oh, you’re right, thx!
Shame I remove my CSS already : (
Shame I remove my CSS already : (
Paul_Chelsfield • Chyba zatím nebyla vývojáři reprodukována:
6. čen 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 • Chyba zatím nebyla vývojáři reprodukována:
19. čen 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 • Chyba zatím nebyla vývojáři reprodukována:
18. dub 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 • Chyba zatím nebyla vývojáři reprodukována:
2. bře 2022 18:58 •
2. bře 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 • Chyba zatím nebyla vývojáři reprodukována:
22. lis 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.)
Doplňte tuto zprávu
Prosím přidej sem cokoli, co by mohlo být relevantní pro reprodukci této chyby nebo pochopení tvého návrhu:
- ID dalšího stolu / ID tahu
- Byla chyba odstraněna stisknutím F5?
- Objevila se tato chyba častěji? Pokaždé? Náhodně?
- Pokud máš snímek obrazvky zobrazující tuto chybu (doporučujeme!), můžeš použít Imgur.com pro nahrání obrázku a pak odkaz na tento obrázek na Imguru zkopírovat a vložit sem.