I would like to switch to the Joshua template and would like to change colors. However when I do, while it looked good in IE7 and Opera, Firefox messed up the header or banner..whichever.
Today I tried again changing only the 'Body bg color' and here are the screen shots showing the results in Firefox and Opera (same in IE7) and my website:
http://www.stevehulldrawings.com/blog
http://www.stevehulldrawings.com/blog/b ... irefox.jpg
http://www.stevehulldrawings.com/blog/b ... -opera.jpg
I am using Serendipity 1.3.1. I would like to know why this is happening. Thanks for any help.
Problem changing Joshua template
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Does this make a difference?
http://www.stevehulldrawings.com/blog/u ... irefox.jpg
http://www.stevehulldrawings.com/blog/u ... -opera.jpg
http://www.stevehulldrawings.com/blog
If not...what is happening is that the title completely disappears in Opera and IE7 and in Firefox, it is changing the title into links and moving it all the way to the left and without the border that is normally around the title.
http://www.stevehulldrawings.com/blog/u ... irefox.jpg
http://www.stevehulldrawings.com/blog/u ... -opera.jpg
http://www.stevehulldrawings.com/blog
If not...what is happening is that the title completely disappears in Opera and IE7 and in Firefox, it is changing the title into links and moving it all the way to the left and without the border that is normally around the title.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Don, I have tried different ways to make it so you can see the screen shots although I was able to see them on my neighbor's computer.
Anyway...I wanted to say that I was going to change the background again and leave it a few days so you could take a look when possible and then...what happens....after hours of working with this...it worked!
I am going to continue to make the changes I need and hope for the best. Thanks for offering help and if need be, I may be back.
Steve
Anyway...I wanted to say that I was going to change the background again and leave it a few days so you could take a look when possible and then...what happens....after hours of working with this...it worked!
I am going to continue to make the changes I need and hope for the best. Thanks for offering help and if need be, I may be back.
Steve
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Well...I thought my problem was over but I guess I was lucky the one time. I tried making more changes today (then started over) but somehow Firefox doesn't like the changes.
I have made changes on the style.css file...the two changes are the 'body bg color', and the 'header bg color'. Even if I just make one change of any type the header is messed up in Firefox.
I notice in IE7 and Opera that the change looks fine. I will leave the changes for a while so they can be viewed. Any ideas?
Steve
I have made changes on the style.css file...the two changes are the 'body bg color', and the 'header bg color'. Even if I just make one change of any type the header is messed up in Firefox.
I notice in IE7 and Opera that the change looks fine. I will leave the changes for a while so they can be viewed. Any ideas?
Steve
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Sorry about the suspension notice, seems they put the site back up while they work out the problem on their end. I think I will have to change servers so I may have to do this all over.
Anyway, could you tell if the CSS errors have to do with the 'body bg color' or 'header bg color'. If so then I will know I can't use the program that I am using. (Astyle CSS) and will probably give up making changes. Those are the only changes I have made.
Anyway, could you tell if the CSS errors have to do with the 'body bg color' or 'header bg color'. If so then I will know I can't use the program that I am using. (Astyle CSS) and will probably give up making changes. Those are the only changes I have made.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Where are you getting 'body bg color' and 'header bg color'? Is that what your editor is calling them?
Here are at least a few of your errors - there could be more (I only looked for the first instances of anything having to do with body or header/banner):
You can see that body is closed before you ever get to the background styles....
Then further down, the same thing happens again with #mainpane li and #serendipity_banner .....
Chances are that your editor got confused because of the template_path syntax, which is url({template_path}img/filename.ext). So, the first block for body SHOULD be this:
which could also be written using fewer lines as:
Hopefully you can use this example and figure out the other 2. If not, let me know. Meanwhile, use a simple text editor to make the changes.
Here are at least a few of your errors - there could be more (I only looked for the first instances of anything having to do with body or header/banner):
Code: Select all
body
{
margin-top: 20px;
margin-bottom: 20px;
background-color: #000000;
}
background-image: url(
{
template_path: ;
}
{
img/bodybg.png): ;
background-position: top;
background-repeat: repeat-x;
}Then further down, the same thing happens again with #mainpane li and #serendipity_banner .....
Code: Select all
#mainpane li
{
list-style: none;
padding-left: 10px;
}
background: url(
{
template_path: ;
}
{
img/bullet_rounded.gif) no-repeat 0 6px: ;
margin-left: -11px;
}
#serendipity_banner
{
font-family: Arial, sans-serif;
margin: 0px;
padding-bottom: 10px;
border-color: #555555;
border-width: 1px;
border-style: solid;
height: 120px;
background-position: top;
background-repeat: no-repeat;
}
background-image: url(
{
template_path: ;
}
{
img/titlebg.jpg): ;
background-color: #acab95;
text-align: left;
}
Code: Select all
body {
margin-top: 20px;
margin-bottom: 20px;
background-color: #000000;
background-image: url({TEMPLATE_PATH}img/bodybg.png);
background-position: top;
background-repeat: repeat-x;
}Code: Select all
body {
margin: 20px 0;
background: #000000 url({TEMPLATE_PATH}img/bodybg.png) top left repeat-x;
}=Don=
Thanks Don for the info. I started over with a fresh template and the changes so far are good and much easier with the text editor. I should have known better after my experience working with HTML and being able to get things more like I want them.
I guess I'll have to learn some CSS. I appreciate the help!
Steve
I guess I'll have to learn some CSS. I appreciate the help!
Steve
