Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Changing background colour alters page layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Changing background colour alters page layout

 Post Reply Post Reply
Author
jprstoney View Drop Down
Newbie
Newbie


Joined: 25 November 2005
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprstoney Quote  Post ReplyReply Direct Link To This Post Topic: Changing background colour alters page layout
    Posted: 05 February 2008 at 12:06am
I've just upgraded to version 9 and after adjusting the background colour in the 'classic' css file, the page has altered it's layout to show a search box below the logo (top right).
 
Why would changing a colour do this and does anyone have a fix or idea?
 
The forum can be viewed at www.bluesheets.co.uk/forum/default.asp (i've reloaded the existing CSS file to stop the error happening).
 
 
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 8:53am
Could be that you made a typo or error which messed up the CSS file.

Also a hard refresh in your browser (CTRL -> F5) forces your browser to reload CSS and other files again.
Back to Top
jprstoney View Drop Down
Newbie
Newbie


Joined: 25 November 2005
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprstoney Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 9:20am
I thought that but have just tried again and the search box has popped back up and moved under the logo.
 
 
The only thing I changed was the background colour of BODY in the classic/default_style.css from #FFFFFF to #F0EFF8.
 
Any ideas?  That is the right file to change, isn't it?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 9:27am
I've just looked at the CSS file on your forum:-

http://www.bluesheets.co.uk/forum/css_styles/classic/default_style.css

If you scroll down about half-way you can see the entire CSS repeated. It looks like when editing the CSS file you have somehow repeated the original CSS at the end, which is coursing the problem.
Back to Top
jprstoney View Drop Down
Newbie
Newbie


Joined: 25 November 2005
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprstoney Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 9:43am
That's strange.
 
I looked at the file in Dreamweaver but couldn't see the duplicates.  I found them using notepad and removed them but still no joy.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 9:55am
I wouldn't us DW for CSS, get yourself a good text editor or use TopStyle Pro.

Looking at your CSS file you have remove the duplicate code, however the last CSS Class is corrupted and has incorrect code and no close } on the end
Back to Top
jprstoney View Drop Down
Newbie
Newbie


Joined: 25 November 2005
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote jprstoney Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2008 at 10:06am
Excellent! That's fixed it.
 
Many thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.