coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: scary05 on February 05, 2010, 03:47:53 AM

Title: Change background image no repeat
Post by: scary05 on February 05, 2010, 03:47:53 AM
Hello

Coppermine 1.4.25 stable
After search in different post on the board
I try to make a change in my background image as no repeat

This is a part of my style.css

body{
background: #C9AB53;
background-image: url(images/cpg_body.jpg);
color: #E7E7E7;


I make this change

body{
background: #C9AB53;
background-image: url(images/cpg_body.jpg) no-repeat left top fixed;
color: #E7E7E7;


But it not change anything, probably I make a error but where ?
What is the best way to refresh to be sure all change is update my theme


Thank for your help


Title: Re: Change background image no repeat
Post by: Jeff Bailey on February 05, 2010, 03:53:15 AM
Post a link. Board rules / Forum policies: Post Links (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)
Title: Re: Change background image no repeat
Post by: scary05 on February 05, 2010, 04:15:37 AM
Quote from: Jeff Bailey on February 05, 2010, 03:53:15 AM
Post a link. Board rules / Forum policies: Post Links (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)

Sorry
I want to do the same feature of the background of my phpbb3 board
http://www.balades_mustang.isgreat.org/phpbb3/index.php
http://www.balades_mustang.isgreat.org/cpg14x/index.php

user= tester
pass= tigertest
Title: Re: Change background image no repeat
Post by: Jeff Bailey on February 05, 2010, 04:34:27 AM
change it to

body{
background: #C9AB53;
background-image: url(images/cpg_body.jpg) no-repeat center top;
color: #E7E7E7;

and it will look like your forum.

You can't use the fixed style or your gallery will go over "blades mustang" picture.

Ctrl+F5 will do a no-cache refresh on a PC.
Title: Re: Change background image no repeat
Post by: scary05 on February 05, 2010, 07:15:29 PM
Quote from: Jeff Bailey on February 05, 2010, 04:34:27 AM
change it to

body{
background: #C9AB53;
background-image: url(images/cpg_body.jpg) no-repeat center top;
color: #E7E7E7;

and it will look like your forum.

You can't use the fixed style or your gallery will go over "blades mustang" picture.

Ctrl+F5 will do a no-cache refresh on a PC.

Hello it not working my image background is missing, same result as before

I know Ctrl+F5 is same thing for MAC but I suppose it a delay from the server or in relation
with the ftp application (5 minutes before see somme result)
I try make different action on myphp, optimizing and other think, but nothing change the time to have a refresh is the same

No problem with phpbb3 board all change is quicky result

Any other suggestion is welcome

Thank for your help
Title: Re: Change background image no repeat
Post by: phill104 on February 05, 2010, 08:26:27 PM
Is this what it should look like?

That is what the gallery looks like for me.

Title: Re: Change background image no repeat
Post by: scary05 on February 05, 2010, 11:37:12 PM
Quote from: Phill Luckhurst on February 05, 2010, 08:26:27 PM
Is this what it should look like?

That is what the gallery looks like for me.

Yes this what the gallery looks like now, because with the last modification the image is missing.
I'm going back to my original style.css

This is a view of my Board phpbb3 - it what i want to reproduce in my gallery
http://i265.photobucket.com/albums/ii225/balademrs/Image-1.jpg

This is the actual view of my gallery before I try to modify the style.css
http://i265.photobucket.com/albums/ii225/balademrs/Image-2.jpg

In the Phpbb3 and in the Gallery I use the same format of image (.jpg)

I want to eliminate the repeat of the background (under the X) a the right side, in the gallery

Thank to your help
Title: Re: Change background image no repeat
Post by: phill104 on February 05, 2010, 11:44:05 PM
Please do not hotlink images. Instead you should attach your images to the threas as I have done with yours. External image will inevitabely go doen or change url making threads hard to follow or useless.

Please re-create your custom theme with it's faults, zip it and upload it here. As we have no live site to look at it becomes very hard to rectify your problem.
Title: Re: Change background image no repeat
Post by: scary05 on February 06, 2010, 12:02:51 AM
Quote from: Phill Luckhurst on February 05, 2010, 11:44:05 PM
Please do not hotlink images. Instead you should attach your images to the threas as I have done with yours. External image will inevitabely go doen or change url making threads hard to follow or useless.

Please re-create your custom theme with it's faults, zip it and upload it here. As we have no live site to look at it becomes very hard to rectify your problem.

Ok Phill I remember the for attachement rules in the future
I send you the theme, Do not take care about the anycontent.php is include in this page the result is the same with or without it.

Thank for your help is really appreciate
Title: Re: Change background image no repeat
Post by: scary05 on February 06, 2010, 12:11:13 AM
P.S. Phill
From a few day i try to change this think
In this same page at the end of the page I try to change the color of (Powered by Coppermine Photo Gallery) the credit to Coppermine
actually is WHITE I want to change for BLACK to be more visible.
I find some solution but I have no success to change it

Thank
Title: Re: Change background image no repeat
Post by: phill104 on February 06, 2010, 12:53:19 AM
Only spent 5 mins on it as it is bedtime. See how that goes then feedback the bugs.