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
yes
Which theme you use ?
Offline
body {
background:transparent url(http://the-outdoorsman.net/hf/templates … ground.jpg) repeat scroll 0 0;
}
Offline
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
[extension by Piwigo Team] LocalFiles Editor (standard plugin) activated
Admin > Special > Plugins > LocalFiles Editor
CSS Tab
Choose the right existing file
and add append.
Offline
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
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
Offline
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
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
Offline
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;
}
Offline
yep but it will overwrite all theme
Offline
I agree.
Offline