Indexhibit

Login:

Created by:
Daniel Eatock &
Jeffery Vaska

Built with Indexhibit

Start page background color not the same as others

 

Indexhibit version: Legacy
Thread is resolved.

danhaskett
UNITED KINGDOM
1 year(s) ago
Permalink Post

Hello,

I have just uploaded an image to my root page which is here

danhaskett.co.uk/

For some reason the background colour is white, even though all the other pages are a more pale yellow/beige. I've been looking through style.css to try and work out what I need to modify, but can't find it.

If anyone can help that'd be great!

Thanks,

Dan

Best Answer!
arsondpi
GREECE
1 year(s) ago
Permalink Post

the fact that you have a background image resets the background color to transparent.
To make sure that it's going to work for all your pages simply add !important next to the background colour in your css

  1. body {
  2.     background-color: #F5F1DF !important;
  3.     font-family: 'WilliamsCaslonText',serif;
  4. }
danhaskett
UNITED KINGDOM
1 year(s) ago
Permalink Post

Hi Arsondpi,

Thanks alot for your advice, that makes a lot of sense.
I've just added the code, but it seems to be having the same problem...do you have any idea why?

Thanks

Dan

danhaskett
UNITED KINGDOM
1 year(s) ago
Permalink Post

I just removed the image now to check and it still has a white background...

danhaskett
UNITED KINGDOM
1 year(s) ago
Permalink Post

Ok I seem to have fixed the problem now. It was to do with a random Image background generator that I still had in my index.php file.

danhaskett
UNITED KINGDOM
1 year(s) ago
Permalink Post

Im not sure how to make this post as resolved...where do I do that?

 

This thread has been closed, thank you.