[personal profile] lilacsinrain posting in [community profile] style_system
I have tried 5 different themes, but when I try to change the background image, it only shows the default color of that theme.  I can change the header to the image I want, but nothing else.  I haven't found a way to change the color to transparent, and need idiot-proof instructions for that.  I tried 6 different tutorials, but the only advanced code I'm seeing is for the specific color code, not the entire layout code. Any help would be so appreciated, thanks.

Date: 2010-12-17 06:51 pm (UTC)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
From: [personal profile] matgb
How are you changing the background image, and where?

Many themes have a built in way of doing that, if that's not working, it's a bug we need to fix.

But if you're trying to put the code in yourself, then the problem could be the way CSS works.

Essentially, if you tell the setup to make an image the background for the whole page, but then the theme developer told it to make colourX the background colour of lots of different bits of the page, then it will do both, but the bits will have their background override the main page, which is how it's supposed to work.

Essentially, you need to make sure your image is being applied instead of the theme instructions, but wihtout knowing what you've tried, and what themes you've tried, it's impossible to give details.

(and it appears we need to write much better how-tos on background images and stuff, to me doing it is so simple, but I've been watching the themes develop since before there were any themes so it's hard to figure out what isn't clear to new people)

Date: 2010-12-17 08:28 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Sorry! Wr4ong reply clicky.
Edited Date: 2010-12-17 08:29 pm (UTC)

Date: 2010-12-17 08:29 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Which background element do you want to change? The body, entry, header...?

Date: 2010-12-18 02:30 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Do you want a solid color for the background?

Date: 2010-12-19 02:01 am (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
According to this from FM layout, the background takes its color, and properties from color_module_border, and color_page_title

#top-color { position: fixed;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 25em;
background-color: $*color_module_border;
border-bottom: .5em solid $*color_page_title;
}


You can change the properties within the layer by removing that part, but you'll also lose the background color to the #header. For that, you can add in teh css box:
#header {
background:url("http://static2.grsites.com/archive/textures/dgren/dgren019.jpg") repeat scroll 0 0 transparent;
}

Does anybody else have any ideas?

Edited Date: 2010-12-19 02:05 am (UTC)

Date: 2010-12-21 04:02 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Hi,
It appears that you made a theme layer by mistake.

Create a top-level layer, choose layout in the dropdown, and keep the core version at 2.

I forgot you should also make a theme layer (Use Fluid Measure (######) where the set of characters are, you'll actually find your layout layer's number. It will be below the official layouts)

Paste in Forest Green's theme code and then you'll find the background is one solid color. Don't forget about the #header css in the css box.

Date: 2010-12-21 10:26 pm (UTC)
baggyeyes: Bugs Bunny and the Bull (Default)
From: [personal profile] baggyeyes
Did you go into http://www.dreamwidth.org/customize/?cat=custom and select your Forest Green theme? You can check out how it would look at my journal. I'll leave it up for a bit to give you time to see it.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 1st, 2025 07:34 am
Powered by Dreamwidth Studios