![]() |
[SOLVED]
Well, I installed and converted a certain template, made sure that all the links were right, and that I had all files - including the style.css uploaded to my server. I checked that all the images were there, and viewable.
I also checked that the link from my template.html were leading to the style file. But anyway, it looks like it haven't read the style.css file at all. Take a look at my site here. Does anyone here have a clue of what I did wrong? |
RE: The template
In your template.html, did you use something like "mycss.css" as the filepath?
You should be using "templates/folderwherestyleis/mycss.css" for the path to the CSS file. :) |
RE: The template
mycss? I only have the style.css.
Do you mean that I should enter some more to the path? 'Cause the template.html and the style.css is in the same folder. :/ |
RE: The template
Yeah, you should add more to the path. The template.html and style.css should be in the same folder, however when the template is loaded through the adoptables script if you look at the HTML source in the browser the location of the style.css file is incorrect. You need to compensate by adding the full path to the style.css file inside of the templates directory.
For instance, if your style.css file is inside the templates/yourtemplate folder at templates/yourtemplate/style.css then you would use templates/yourtemplate/style.css for the path to the css file in your template. Hope it helps, Brandon |
RE: The template
Wow, it actually works. Thank you!! :D
*Happy*[hr] You can lock this tread now, BMR. :) |
All times are GMT -5. The time now is 12:50 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.