Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
altie86
2 years agoExplorer | Level 3
Cascading Style Sheets (.CSS) files
I hope I'm placing this in the correct space.
Links that we generate for this update after 2023 - I can't seem to get the CSS link working from my dropbox.
link example is, and has to be in this format for the site I'm using it for - it goes to a profile and generates the css:
@import url("https://dl.dropbox.com/scl/fi/<some generated text>/<filename>.css?dl=0&raw=1");
I have tried to go through this community to search for updates but everything comes up from 2018-2021 etc.
Can someone help?
I'm also having trouble with the new set up for small videos/music links that are .mp3. I just need help with the css one right now 😞
altie86 wrote:
...@import url("https://dl.dropbox.com/scl/fi/<some generated text>/<filename>.css?dl=0&raw=1");
...
Hi altie86,
It's a good decision to add "raw=1" param, but you don't need to keep "dl=0" param. Anyway... this is not the source of your issue.
You have done something else - dropped one param existing in the original form - rlkey. This param absence makes your link incorrect! That's where your issue comes from. 😉
Hope this helps.
12 Replies
Replies have been turned off for this discussion
- Walter2 years ago
Dropbox Community Moderator
Hey there altie86 - sorry to hear you're having issues with this.
I'm not quite sure about the problem you're facing. Could you provide some additional information and/or screenshots to make sure we're on the same page?
Thanks!
- Здравко2 years agoLegendary | Level 20
altie86 wrote:
...@import url("https://dl.dropbox.com/scl/fi/<some generated text>/<filename>.css?dl=0&raw=1");
...
Hi altie86,
It's a good decision to add "raw=1" param, but you don't need to keep "dl=0" param. Anyway... this is not the source of your issue.
You have done something else - dropped one param existing in the original form - rlkey. This param absence makes your link incorrect! That's where your issue comes from. 😉
Hope this helps.
- altie862 years agoExplorer | Level 3I'm trying to have my. Css file from drop box load to my profile on another site. The example is, it isn't loading.
Is there a proper way to the write the link? The link provided by drop box never works on the website. - altie862 years agoExplorer | Level 3I added all that stuff because I saw it in the solutions on here. Can you help? 🥺 I just want the link to be correct. So I make the Sci/ to s/, etc?
- Здравко2 years agoLegendary | Level 20
altie86, The solution is simple: Just don't change anything in the initially provided link other that replacing "dl=0" to "raw=1". NOTHING ELSE!!! That's it. 😉 Nothing more.
Your equilibristics of params make the link invalid. 🤷
- altie862 years agoExplorer | Level 3I just tried that, and did that last night. It's not working.
[<style>@import url("https://dl.dropbox.com/scl/fi/lzcikexsb7k0sioa9ojip/supersonic.css?raw=1");</style>]
Something is still not loading. - Здравко2 years agoLegendary | Level 20
Yes, of course. 🙂 You didn't read my comments above. 🤷
Did you try to open that link through address bar in your browser? 🧐 Does it works? 🤷 Why do you expect to work in a tag?
- altie862 years agoExplorer | Level 3The <style> is because it's going to pull the Dropbox file and load directly as CSS/HTML.
I am not sure we're on the same page on solution on linking for css. - Здравко2 years agoLegendary | Level 20
OMG. Yes, I agree: we're NOT on the same page!
Your link is incorrect!!! I don't know how to say it and be clear to you. Don't you understand that you have it damaged? (again missing rlkey - why was you removing it) 🧐
By the way... you may expect another issue. Dropbox passes incorrect content type out and most browsers will complain. Better think for adding your tag using Javascript. In such a way you will workaround this intentionally included limitation.
- altie862 years agoExplorer | Level 3I didn't remove it, it didn't have one.
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need More Support
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!