I have cloned a Jekyll Bootstrap installation with GitHub pages. Everything is working but the CSS and JavaScript aren't being loaded in the website. It looks like a barebones HTML site.
Here is the website: https://heavensgospel.github.io/
Here is the website's files: https://github.com/heavensgospel/heavensgospel.github.io
Apparently those files are missing from your file system.
Your /assets/themes/bootstrap/css/ folder seems to contain only one file style.css, while other files seem to be missing. Similarly, JavaScript files too are missing.
Related
Suppose I download a free Bootstrap theme from the internet, e.g., https://themes.3rdwavemedia.com/bootstrap-templates/startup/portal-free-bootstrap-admin-dashboard-template-for-developers/.
How can I apply this theme to my Dash dashboard?
The theme comes with an assets folder with the following folders: css, images, js, plugins, scss. If I simply copy everything in the downloaded assets folder to the assets folder in my application, it doesn't seem to have any effect.
I do not specify external_stylesheets in my code as I understand dash will automatically pick up the files in my assets folder.
Thanks a lot!
I have an issue with versions of css files on my site, wordpress engine.
I have a file
/wp-content/uploads/wp-less/dt-the7/css/custom-3bd5941b9d.css
I edited it and still can't see any changes on my site.
So I tried to inspect a code, and I noticed that site uses css file with another version
(/wp-content/uploads/wp-less/dt-the7/css/custom-3bd5941b9d.css?ver=3.5.1)
So my question is:
Where can I find exactly custom-3bd5941b9d.css?ver=3.5.1 file? Or is it just a cache in database? If so - how can I edit it?
I'm trying to get started with a blog using Jekyll. With Ruby, bundler and gems installation out of the way, I've spun up a site. The problem now is that the styles don't seem to render.
The site's src code is here, https://github.com/soumasish/Blog
I'm not sure if the problem is because the SASS isn't compiling or the site is just not able to pick up the CSS.
Any help appreciated.
I'm assuming you mean the styles aren't loading when you visit https://soumasish.github.io/Blog/, locally it looks fine.
It's requesting the CSS file at /css/main.css, which is an absolute URL. This absolute URL negates the base path of Blog, resulting in a request to:
https://soumasish.github.io/css/main.css
But the CSS file is located here:
https://soumasish.github.io/Blog/css/main.css
To fix it, you can add a baseurl option to _config.yml:
baseurl: "/Blog"
Or add that to the url setting (but baseurl is the recommended way):
url: "https://soumasish.github.io/Blog"
I am a newbie so apologies for what is likely an obvious issue but I have researched and could not find an answer. I have landing page index file that has the styles embedded. When I run the index file locally, it works perfectly. All the styles work and the landing page looks great. But when I transfer the file to the file manager in the godaddy cPanel, the page loads but the styles are not applied. I use fireFTP and sublime text.
Justin
I'm new to Drupal and have recently installed the custompage module. I received a lot of errors until I placed "custom.tpl.php" in the custompage module folder. I am able to navigate to the custom page from the primary links. But, the CSS I created for that specific page is not showing up. I'm thinking it's because "custom.tpl.php" is located in the module folder of Drupal Core and my CSS is in the theme folder. But I'm not sure how to fix the problem.
I tried to copy the "custom.tpl.php" in my themes folder, but then I receive a lot of errors.
Any help would be appreciated.
The problem is not the module. The css should be available to every page in your theme.
Make sure that your CSS file is mentioned in YOURTEMPLATE.info file (YOURTEMPLATE is the name of your template).
It should look like that:
stylesheets[all][] = YOURCSS.css
If your css file is in YOURTEMPLATE.info, try to clear drupal cache, go to admin/settings/performance and clear cache.