![]() |
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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. :) |
#3
|
|||
|
|||
![]()
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. :/ |
#4
|
|||
|
|||
![]()
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 |
#5
|
|||
|
|||
![]()
Wow, it actually works. Thank you!! :D
*Happy*[hr] You can lock this tread now, BMR. :) |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Removing www. from url [SOLVED] | arlecchina | Questions and Supports | 6 | 08-05-2009 12:03 PM |
Solved | omegatsuki | Questions and Supports | 7 | 05-12-2009 10:08 PM |
[SOLVED] new adoptables on top? | mugwumpr | Questions and Supports | 2 | 04-28-2009 04:15 PM |
[SOLVED] | lollicat | Questions and Supports | 8 | 04-26-2009 02:07 PM |
[solved] | Desirai | Questions and Supports | 4 | 03-24-2009 06:52 PM |
What's New? |
What's Hot? |
What's Popular? |