Все отчёты
Сайт БГА
#14908: "Custom CSS not working"
О чём этот отчёт?
Что произошло? Пожалуйста, выберите из нижеследующего
Что-то работает неправильно при использовании сайта (не во время игры)
Подробное описание
• Пожалуйста, скопируйте/вставьте текст ошибки, которую вы видите на экране (если она есть).
none• Пожалуйста, объясните, что вы хотели сделать, что вы сделали и что случилось
use custom css• Какой браузер вы используете?
Google Chrome v80
История отчёта
Sly0001 • Разработчики ещё не воспроизвели ошибку:
28 мар 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 • Разработчики ещё не воспроизвели ошибку:
28 мар 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 • Разработчики ещё не воспроизвели ошибку:
8 апр 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 • Разработчики ещё не воспроизвели ошибку:
17 апр 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 • Разработчики ещё не воспроизвели ошибку:
17 апр 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 • Разработчики ещё не воспроизвели ошибку:
21 апр 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 • Разработчики ещё не воспроизвели ошибку:
8 мая 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 • Разработчики ещё не воспроизвели ошибку:
18 мая 2020 0:28 • @lesuedois Oh, you’re right, thx!
Shame I remove my CSS already : (
Shame I remove my CSS already : (
Paul_Chelsfield • Разработчики ещё не воспроизвели ошибку:
6 июн 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 • Разработчики ещё не воспроизвели ошибку:
19 июн 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 • Разработчики ещё не воспроизвели ошибку:
18 апр 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 • Разработчики ещё не воспроизвели ошибку:
2 мар 2022 18:58 •
2 мар 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 • Разработчики ещё не воспроизвели ошибку:
22 ноя 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.)
Добавить что-нибудь к этому отчёту
Пожалуйста, укажите всё, что вам кажется значительным для воспроизведения этой ошибки или понимания вашего предложения:
- Другой номер игрового стола / номер хода
- Помогло ли решить проблему нажатие F5?
- Случилась ли проблема несколько раз? Постоянно? От случая к случаю?
- Если у вас есть снимок экрана с этой ошибкой (хорошая привычка), вы можете воспользоваться Imgur.com, чтобы загрузить его и вставить сюда ссылку.