coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Kunji on October 24, 2006, 09:55:52 PM

Title: Image background
Post by: Kunji on October 24, 2006, 09:55:52 PM
hello all. could someone tell me what might be the easiest way to simply have the entire background, except thumbnails and buttons, one image i.e. everything transparent with just one image (a photo ) as the entire background for the entire gallery including all pages? thank you.
sincerely,
kunji
Title: Re: Image background
Post by: Sami on October 24, 2006, 10:02:39 PM
- create a copy from classic theme (folder)
- name it something else (ie. mytheme)
- edit themes/mytheme/template.html and set your image for main table's (first table tag right after {CUSTOM_HEADER}) background
Title: Re: Image background
Post by: Kunji on October 24, 2006, 11:07:35 PM
thank you for the quick response. what would i put in the following tag so that the image will be the same in firefox as well as internet explorer?


<body>

  {CUSTOM_HEADER}

  <table width="100%" border="0" cellpadding="20" cellspacing="20";>

thank you.
sincerely,
kunji
Title: Re: Image background
Post by: Sami on October 25, 2006, 12:00:14 AM
add a background style to the first td
something like :

<td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF; background:url(themes/mytheme/images/mybackground.jpg) no-repeat fixed ;">
Title: Re: Image background
Post by: Kunji on October 25, 2006, 08:51:00 AM
thank you very much. problem solved.
sincerely,
kunji