coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: jeffcdo on December 24, 2005, 06:35:31 AM

Title: Background image isssue
Post by: jeffcdo on December 24, 2005, 06:35:31 AM
I've been modifying the classic theme to integrate with my website.  I'm having a problem with the background image not completely filling the page at login:

http://www.marshallcrenshaw.com/coppermine/login.php?referer=index.php

..the image fills the page when I look at the template.html.  Any suggestions how to fix this?  Thank you.
Title: Re: Background image isssue
Post by: Blueiris on December 24, 2005, 06:49:51 AM
Rather than putting the background image in a style tag, put it right in the <body> tag, like this:

Quote<body style="background-image: url(../images/mainback.png);">

Alternatively, you could add it into style.css.

Take a close look at the header section of your template. All styles in the head should be contained within one <style> tag, you have two. You also have two links to css files. Best to clean that up!

Title: Re: Background image isssue
Post by: jeffcdo on December 24, 2005, 10:37:12 PM
Cool!  Thanks for your repsonse!