Theo
asked on
How to get this page layout correct
I have a Drupal site at http://theorichel.nl/stralingshormese . There are two problems:
1. The grey background (I have never set any backgroundcolor, the page used to be white). It is not connected to the theme color, when I change that, the purple background remains
2. On the bottom of the page is a block that actually belangs in the right column.
Any suggestions are most welcome
Thanks
1. The grey background (I have never set any backgroundcolor, the page used to be white). It is not connected to the theme color, when I change that, the purple background remains
2. On the bottom of the page is a block that actually belangs in the right column.
Any suggestions are most welcome
Thanks
ASKER
Thank you!
Wrt the background color, shouldnt that imply that other pages, e.g. theorichel.nl have that background as well. They do not. And, on these other pages the blocks do have a background color and not the main content. And, strange enough, on good looking pages the blocks do have a background color, not the body.
But I did find the cause, not the solution though. It is in the story: Evacuatie van de bevolking dodelijker dan de straling bij Fukushima . As soon as I put that story on another page, that page displays this problem.
Wrt the background color, shouldnt that imply that other pages, e.g. theorichel.nl have that background as well. They do not. And, on these other pages the blocks do have a background color and not the main content. And, strange enough, on good looking pages the blocks do have a background color, not the body.
But I did find the cause, not the solution though. It is in the story: Evacuatie van de bevolking dodelijker dan de straling bij Fukushima . As soon as I put that story on another page, that page displays this problem.
ASKER
Sorry for that double line.
I have set the stylesheets so that they are not packed anymore.
I have set the stylesheets so that they are not packed anymore.
The background is coming from this stylesheet
@import url("http://theorichel.nl/sites/all/themes/newsflash/css/violet.css?ojxtp7");
First line
@import url("http://theorichel.nl/sites/all/themes/newsflash/css/violet.css?ojxtp7");
First line
ASKER
Yes, but I think it is not on that level, but something went wrong in that article I mentioned. An unclosed div or something like that
ASKER
If you look at the page you see that there is no horizontal line at the end of the article I mentioned, and at the bottom of the page there are two.
Yes, but I think it is not on that level, but something went wrong in that article I mentioned. An unclosed div or something like thatThat won't cause a stylesheet to be included - your background colour issue is in that stylesheet.
ASKER
Then why are other pages on the site white? And I do not understand what you mean by 'stylesheet included', Where is it included?
ASKER
Sorry. I do understand what you mean by stylesheet included, but that still leaves the other question.
ASKER
OK, then I should say, the background color spills in the body. The bg should be the color as you say, but the body text should be in white.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That was it, thanks very much. With your suggestions I could narrow it down to what we both suspected, missing or superfluous div tags. It solved both problems. Thanks very much.
You are welcome.
Open in new window
That's where the colour is coming from, the stylesheet in question is a packed CSS file so cannot tell what the ultimate source is.
The sidebar looks like it has been added to the wrong section.