Announcement

#1 2009-11-06 00:48:56

the-outdoorsman
Member
2009-05-17
84

[resolved] Background

I was wondering if there is a way to change the background to look like what is on this website.
http://the-outdoorsman.net/hf/

It is a small jpeg that tiles to fill the page

Thanks
KC

Offline

 

#2 2009-11-06 07:21:18

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Background

yes

   
Which theme you use ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2009-11-06 07:39:44

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Background

body {
background:transparent url(http://the-outdoorsman.net/hf/templates … ground.jpg) repeat scroll 0 0;
}


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#4 2009-11-06 20:39:34

the-outdoorsman
Member
2009-05-17
84

Re: [resolved] Background

I am using the flopure Autumn theme. VDigital, I am not sure what you want me to do with what you posted. Am I to copy that line in to one of the theme files?

Offline

 

#5 2009-11-06 21:03:14

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Background

[extension by Piwigo Team] LocalFiles Editor (standard plugin) activated

Admin > Special > Plugins > LocalFiles Editor
CSS Tab

Choose the right existing file
and add append.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2009-11-07 00:22:45

the-outdoorsman
Member
2009-05-17
84

Re: [resolved] Background

Well I replaced the two images and got that right but I am not sure what to do to get the background right. I tried pasting the line you had in to the css file but that didn't work. I really don;t know much about editing the css file so not sure where to paste the line in. I tried pasting it in right here:

/* $Id: theme.css 02-07-2008 flop25 $ */
/* text color */
BODY


That is at the top of the css file.

Here is my page
http://the-outdoorsman.net/waterfowlhunting/

Last edited by the-outdoorsman (2009-11-07 00:23:24)

Offline

 

#7 2009-11-07 00:36:51

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Background

Add at end of your css file.







(By adding to theme.css, on next upgrade of floPure/autumn you will loose your change)

=> Prefer addings in template-common/local-layout.css


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#8 2009-11-07 00:59:45

the-outdoorsman
Member
2009-05-17
84

Re: [resolved] Background

That got it. I just added to the theme css file. I will try the  template-common/local-layout.css file. Will that make all the themes backgrounds like that then?

Thanks for your help. I will mark this resolved

Offline

 

#9 2009-11-07 18:06:33

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Background

the-outdoorsman wrote:

That got it. I just added to the theme css file. I will try the  template-common/local-layout.css file. Will that make all the themes backgrounds like that then?

No . Vd you made a mistake : all the properties of local-layout.css will be overwrite by the theme.css file


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#10 2009-11-07 21:18:24

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Background

flop25 wrote:

the-outdoorsman wrote:

That got it. I just added to the theme css file. I will try the  template-common/local-layout.css file. Will that make all the themes backgrounds like that then?

No . Vd you made a mistake : all the properties of local-layout.css will be overwrite by the theme.css file

As you already know any css rule could be overridden by a parent selector in  template-common/local-layout.css.

So:

body {
background:transparent url(http://the-outdoorsman.net/hf/templates … ground.jpg) repeat scroll 0 0;
}

Could be replaced at least by
html body {
background:transparent url(http://the-outdoorsman.net/hf/templates … ground.jpg) repeat scroll 0 0;
}

or
* body {
background:transparent url(http://the-outdoorsman.net/hf/templates … ground.jpg) repeat scroll 0 0;
}


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#11 2009-11-07 21:29:27

flop25
Piwigo Team
2006-07-06
7037

Re: [resolved] Background

yep but it will overwrite all theme


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#12 2009-11-07 21:47:28

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Background

I agree.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact