- Issue created by @liliplanet
- 🇺🇸United States shelane
Try calling this from your browser: https://bootswatch.com/api/3.json
I know that my network blocks that particular CDN. Perhaps try other?
- 🇫🇷France liliplanet Cannes
Thank you Shelane, yes I am able to access the .json.
Very strange, my website is a little out of wack because of it. Guess I'm going to have to move on from our beloved Bootstrap 3.
Most appreciated.
- 🇺🇸United States shelane
There are other CDNs available. I use a subtheme and include the CSS and JS directly in my subtheme. Then my libraries.yml file for the theme includes this:
framework: css: theme: css/3.4.1/bootstrap.css: {} css/style.css: {} css/print.css: { media: print } js: js/3.4.1/bootstrap.js: {} js/main.js: {} js/anchor-scroll-external.js: {}
- 🇫🇷France liliplanet Cannes
Shelane, for years I been wanting to include the css and js locally, especially as it affects Pagespeed running from a CDN.
But get dazed and confused with words like ... import, override variables.scss and recompile SCSS.
Is there perhaps an easier explanation of what that means?
I know how to use Composer, but not Drush.
I got a sub-theme for Bootstrap 3, steps how to include css and js directly please?
Most appreciate any guidance.
- 🇺🇸United States shelane
Here is the documentation. We do not currently use LESS or SASS with our Bootstrap 3 subtheme. We will when we switch our subtheme to use Radix for a Bootstrap 5 theme.
http://drupal-bootstrap.org/api/bootstrap/docs!Sub-Theming.md/group/sub_...
- 🇫🇷France liliplanet Cannes
Wow thank you Shelane, I've never come across that guide, very helpful.
Yes, also considering Radix, but our Bootstrap 3 is such a beauty over the years.
Most appreciate your help 🌷
- 🇮🇳India ravi kant Jaipur
@Liliplanet
Is the issue solved as per your last comment? - 🇫🇷France liliplanet Cannes
Thank you for your response @ravi kant, I moved on to D10 😉
- Status changed to Fixed
over 1 year ago 5:40am 13 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.