Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Change background image no repeat  (Read 9435 times)

0 Members and 1 Guest are viewing this topic.

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Change background image no repeat
« 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

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

I make this change

Code: [Select]
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


Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Change background image no repeat
« Reply #1 on: February 05, 2010, 03:53:15 am »

Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: Change background image no repeat
« Reply #2 on: February 05, 2010, 04:15:37 am »

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Change background image no repeat
« Reply #3 on: February 05, 2010, 04:34:27 am »

change it to
Code: [Select]
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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: Change background image no repeat
« Reply #4 on: February 05, 2010, 07:15:29 pm »

change it to
Code: [Select]
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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Change background image no repeat
« Reply #5 on: February 05, 2010, 08:26:27 pm »

Is this what it should look like?

That is what the gallery looks like for me.

Logged
It is a mistake to think you can solve any major problems just with potatoes.

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: Change background image no repeat
« Reply #6 on: February 05, 2010, 11:37:12 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Change background image no repeat
« Reply #7 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: Change background image no repeat
« Reply #8 on: February 06, 2010, 12:02:51 am »

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
Logged

scary05

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: Change background image no repeat
« Reply #9 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
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Change background image no repeat
« Reply #10 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.