-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with rendering #19
Comments
Version 0.9.0 did have substantial changes to the CSS https://pasteboard.co/IuDwuNd.png is how I would expect a plain simple site to look. Joyous does not push colour or font choices. But there are theme CSS files available which you can optionally choose from to import if you like.
You can either alter your base template, or to make things easy you can set the setting JOYOUS_THEME_CSS to the path of a theme CSS file you wish to include. https://pasteboard.co/IuDxQio.png does not look so good. It looks like joyous.css is not being loaded at all - perhaps clearing your browser cache (ctrl-F5) is needed. Or perhaps the bakery demo CSS has overridden all the Joyous CSS? |
I have installed the latest Bakery Demo from https://github.com/wagtail/bakerydemo and now see why joyous.css is not included. The base template of the Bakery Demo https://github.com/wagtail/bakerydemo/blob/master/bakerydemo/templates/base.html does not have the blocks To fix this you can add
and add
This will allow joyous.css and optionally a Joyous theme CSS file to be included. Hope this helps? |
Hi, Thanks for that, it did the trick. |
Trying to install Joyous into a site based on the Backery Demo.
The calender seems to render without any formatting.
I create a new simple site and I get a similar result.
new virtualenv
pip3 install wagtail
wagtail start caltest
cd caltest
pip3 install -r requirements.txt
./manage.py migrate
add ls.joyous to the settings/base.py
New page -> calender.
looks like this (crammed into one corner of browser window).
Working site: https://pasteboard.co/IuDxQio.png
New simple site: https://pasteboard.co/IuDwuNd.png
The text was updated successfully, but these errors were encountered: