Hi there,
A while ago I purchased some Themes (Ruby Smoke, Dancing Queen and SOS).
Disregarding the fact that I am very disappointed that one should edit the same things in every one page in the theme, I've tried to upload a theme site to my webhotel provider.
Have tried to upload a version not changing anything, and it does not work, since the CSS's Reset, Styles and Lightbox won't load or something.
In my edited version I renamed index.html to index.asp in order to write includes in the code avoiding having to edit button-texts etc. on every page. The includes work fine, but still no CSS.
For the test of it I copied the Styles CSS into my index.html/index.asp header, and all of a sudden things work!
So it seems there is a problem in the code:
<style type="text/css">
@import url("css/reset.css");
@import url("css/styles.css");
</style>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="borgerservice/js/prototype.js" type="text/javascript"></script>
<script src="borgerservice/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="borgerservice/js/lightbox.js" type="text/javascript"></script>
... but I can't find out what's wrong.
Can you help?!
Kind regards,
Steen
http://www.karisebynet.dk/borgerservice/index.asp
A while ago I purchased some Themes (Ruby Smoke, Dancing Queen and SOS).
Disregarding the fact that I am very disappointed that one should edit the same things in every one page in the theme, I've tried to upload a theme site to my webhotel provider.
Have tried to upload a version not changing anything, and it does not work, since the CSS's Reset, Styles and Lightbox won't load or something.
In my edited version I renamed index.html to index.asp in order to write includes in the code avoiding having to edit button-texts etc. on every page. The includes work fine, but still no CSS.
For the test of it I copied the Styles CSS into my index.html/index.asp header, and all of a sudden things work!
So it seems there is a problem in the code:
<style type="text/css">
@import url("css/reset.css");
@import url("css/styles.css");
</style>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="borgerservice/js/prototype.js" type="text/javascript"></script>
<script src="borgerservice/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="borgerservice/js/lightbox.js" type="text/javascript"></script>
... but I can't find out what's wrong.
Can you help?!
Kind regards,
Steen
http://www.karisebynet.dk/borgerservice/index.asp
Hiya Steen,
Can you put the site back with the CSS page being external please so we can see what it was like and better help you? With it all inline there's no way for us to see what might be wrong.
Also, it's an HTML Editor not a visual editor, not going to find any other way of creating and editing your pages without having to do them each one at a time, not sure why you expected otherwise. With using includes as you are attempting to do, that saves a lot of time so you're already on the right track. Unless you have some strange editor that edits the entire theme for you (don't know what that would be and when you find it tell me too please! lol), you will always have to do each page.
Having said that, the one way to alleviate a ton of changes in a theme setup would be to do only 1 or 2 pages. Home page and a place holder page that you use to create the rest of the pages. Edit those 2 pages until you get the theme adjusted exactly how you want it including menu and footer etc. Once you have all that and are just waiting to put content in, that's when you create the rest of the pages so you don't have to edit the same things on every page. Hope that helps some at least.
Please post back when you've put the CSS page back in and links to it in the pages so we can better help with that issue.
Can you put the site back with the CSS page being external please so we can see what it was like and better help you? With it all inline there's no way for us to see what might be wrong.
Also, it's an HTML Editor not a visual editor, not going to find any other way of creating and editing your pages without having to do them each one at a time, not sure why you expected otherwise. With using includes as you are attempting to do, that saves a lot of time so you're already on the right track. Unless you have some strange editor that edits the entire theme for you (don't know what that would be and when you find it tell me too please! lol), you will always have to do each page.
Having said that, the one way to alleviate a ton of changes in a theme setup would be to do only 1 or 2 pages. Home page and a place holder page that you use to create the rest of the pages. Edit those 2 pages until you get the theme adjusted exactly how you want it including menu and footer etc. Once you have all that and are just waiting to put content in, that's when you create the rest of the pages so you don't have to edit the same things on every page. Hope that helps some at least.
Please post back when you've put the CSS page back in and links to it in the pages so we can better help with that issue.
Steen Fauerby wrote:
...
So it seems there is a problem in the code:
<style type="text/css">
@import url("css/reset.css");
@import url("css/styles.css");
</style>
...
...
So it seems there is a problem in the code:
<style type="text/css">
@import url("css/reset.css");
@import url("css/styles.css");
</style>
...
Your code implies that the css files are here:
http://www.karisebynet.dk/borgerservice/css/reset.css
but I found them here:
http://www.karisebynet.dk/borgerservice/reset.css
Hi Per and Jo Ann,
Per,
I have both the reset.css and the styles.css in both the /borgerservice/-directory and in the /borgerservice/css/-directory.... ought to be only in the latter, but I had to try something, so I copied them to the first directory as well. No changes though.
Jo Ann,
First of all, I have uploaded index.html with the code from the theme, so you should see something not very nice if you access http://www.karisebynet.dk/borgerservice/index.html
Not sure what you mean by visual editor. I'm using coffeecup for editing html-files, and since my webhotel requires me to name the files .asp in order to perform the includes, I simply put in includes, save the file, rename it to .asp, and upload it to my webhotel. I can not test my pages locally, if I want the includes to work, so I have to upload and test, correct code, upload and test etc.
Your idea about one or two pages could work when developing the pages, but any later change would have to be changed in all relevant pages, say I got a new address or alike.
Way back when I would have made frames, but everybody tells me, that I shouldn't make frames and framesets anymore, so I thought a theme could do the trick. To me the includes are imperative, since I develop swiftly in order to get all the creative content into the page, and then changes things later.
So I will stick to the includes, that seem to work just fine, as you can see. - Well, except from the CSS-stuff!
Kind regards,
Steen
Per,
I have both the reset.css and the styles.css in both the /borgerservice/-directory and in the /borgerservice/css/-directory.... ought to be only in the latter, but I had to try something, so I copied them to the first directory as well. No changes though.
Jo Ann,
First of all, I have uploaded index.html with the code from the theme, so you should see something not very nice if you access http://www.karisebynet.dk/borgerservice/index.html
Not sure what you mean by visual editor. I'm using coffeecup for editing html-files, and since my webhotel requires me to name the files .asp in order to perform the includes, I simply put in includes, save the file, rename it to .asp, and upload it to my webhotel. I can not test my pages locally, if I want the includes to work, so I have to upload and test, correct code, upload and test etc.
Your idea about one or two pages could work when developing the pages, but any later change would have to be changed in all relevant pages, say I got a new address or alike.
Way back when I would have made frames, but everybody tells me, that I shouldn't make frames and framesets anymore, so I thought a theme could do the trick. To me the includes are imperative, since I develop swiftly in order to get all the creative content into the page, and then changes things later.
So I will stick to the includes, that seem to work just fine, as you can see. - Well, except from the CSS-stuff!
Kind regards,
Steen
Hi Steen,
As far as I can see, the css files are only in the root, not in the sub-folder /css/ as expected from the code. See my two screen shots...
As far as I can see, the css files are only in the root, not in the sub-folder /css/ as expected from the code. See my two screen shots...
Hi Per,
Strange, since I know them to be both places!
Took a screendump from the webhotel, and as you can see, the both files are in the CSS-folder:
Thought about uploading them again - both places, but will wait to hear what you think before "corrupting" the present evidence ;-)
Kind regards,
Strange, since I know them to be both places!
Took a screendump from the webhotel, and as you can see, the both files are in the CSS-folder:
Thought about uploading them again - both places, but will wait to hear what you think before "corrupting" the present evidence ;-)
Kind regards,
Hi Steen,
I see from your screen shot that you have them in a ccs directory, not the css directory!
I see from your screen shot that you have them in a ccs directory, not the css directory!
Ooooops!
How right you are!
Used to work in CCS for over 10 years, so guess it's still in my fingers.
Now THAT is embarrassing!
I have just created a CSS-directory and copied everything from CCS to it. Helps a lot, though I don't seem to get the background picture to show. Will have to check all my code!
Thank you very much for your sharp eyes!
Kind regards
How right you are!
Used to work in CCS for over 10 years, so guess it's still in my fingers.
Now THAT is embarrassing!
I have just created a CSS-directory and copied everything from CCS to it. Helps a lot, though I don't seem to get the background picture to show. Will have to check all my code!
Thank you very much for your sharp eyes!
Kind regards
You're welcome! Glad there was an easy fix, at least for that part of your problem!
Cool to be helped. Hope I can return the favour to someone another day.
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.