Skip to content
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

Navigation bar gone with bootswatch theme version 4.0.0 #309

Open
vancip opened this issue Feb 5, 2018 · 9 comments
Open

Navigation bar gone with bootswatch theme version 4.0.0 #309

vancip opened this issue Feb 5, 2018 · 9 comments

Comments

@vancip
Copy link

vancip commented Feb 5, 2018

I've been experiencing some trouble with a kalatheme website using bootswatch library. Navigation bar in the header is now collapsed and not usable at all. Could be something related to the maxcdn.bootstrapcdn.com/bootswatch/latest/flatly/bootstrap.min.css file that is now version 4.0.0? There is some hack in kalatheme code to force using a specific version of that file?

@mrlch
Copy link

mrlch commented Feb 5, 2018

Also here. Navigation Bar gone and failures in the Layout of every Kalatheme-Site. With Kalatheme 7.3.0, 7.3.4 and various bootwatch-basethemes. It seems a problem with accessing the online-files.
Thanks for your support.

@richard-rance
Copy link

I'm having a similar issue using the cosmo base theme. The main menu shows up as a tiny button. When clicked on the level one menu items show up temporarily with incorrect formatting.

@richard-rance
Copy link

This issue was indeed caused by Bootswatch updating the latest version on their cdn to 4.0.0. Kalatheme uses this API to lookup the url of the css files. https://bootswatch.com/api/3.json It is currently looking for the "latest" version of the file instead of locking it in at one that is compatible with Bootstrap 3.

I've submitted a pull request to the upsteam project to get it fixed. thomaspark/bootswatch#788

@richard-rance
Copy link

If you are in a rush to get your site working again you can update
define('KALATHEME_BOOTSWATCH_API', 'https://bootswatch.com/api/3.json'); to define('KALATHEME_BOOTSWATCH_API', 'https://raw.githubusercontent.com/lagerenas/bootswatch/23aefe5a20ec450fcb73ff6c86594b7f36a1de75/docs/api/3.json'); in /public_html/panopoly/sites/all/themes/kalatheme/includes/utils.inc (or whatever your path happens to be). Just remember to take out this temporary fix or copy the file onto your local server.

@mrlch
Copy link

mrlch commented Feb 6, 2018

@lagerenas: thanks a lot for your help! For me in some cases it works, it other not yet.
I have to research what's the matter.

@mrlch
Copy link

mrlch commented Feb 6, 2018

@lagerenas: sorry my fault it works everywhere. Thanks!!! ;)

@vancip
Copy link
Author

vancip commented Feb 6, 2018

I've been using only the flatly variant of the bootstrap library so I made it the default choice modifying the template.php in this way

define('KALATHEME_BOOTSTRAP_CSS', '//maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css');

using the 3.3.7 version all the issues disappeared

@vancip vancip closed this as completed Feb 6, 2018
@vancip vancip reopened this Feb 6, 2018
@richard-rance
Copy link

Hi,
https://bootswatch.com/api/3.json has been updated with my fix. You no longer need the temporary workaround that I suggested above. It should be taken out if you applied it.

All sites should be back to working without any updates from the users.

@mrlch
Copy link

mrlch commented Feb 6, 2018

Thank you guys for the support. I'll try to go back with the configuration and look if it works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants