Background image isssue Background image isssue
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Background image isssue

Started by jeffcdo, December 24, 2005, 06:35:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jeffcdo

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.

Blueiris

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!

You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

jeffcdo

Cool!  Thanks for your repsonse!