Support > cpg1.5 themes (visuals)

Greybox background image is copied from body - how to change it?

(1/2) > >>

Maraz:
Did anyone here tried to change Greybox help window background image? It seems it's somehow copied from main body style, but not straight away (probably in javascript during GB window animation), so I can't figure how to change it by only modifying theme files. I would like to have different background image in Greybox window (in fact no image at all, just solid colour), because the background image I'm using for the whole gallery makes text in GB window unreadable.

Any help in this matter would be great. My modified theme is based on "curve".

Αndré:
Board rules / Forum policies: Post Links

Maraz:
The theme used for testing purposes is exactly "curve" with just one modification in style.css (different file for backgorund in body section). It changes body backgorund to a dark one, and this image is then used in Greybox windows, but that  it's default behaviour of theme "curve". My question is how to change this behaviour, so GB windows can have independent background, not copied from body. In style.css there is only one section related to GB:

--- Code: ---#GB_window {
    background-color: #EFEFEF;
    border: 5px solid #0E72A4;
}
--- End code ---
I've tried to change background in this section, even to a completely different image, but it works only for few seconds and then bang - body background shows again after GB window animation is finished. Do I need to modify GB javascrpit to get rid of this and how it should be done?

Joe Carver:

--- Quote from: Αndré on June 04, 2010, 01:39:53 pm ---Board rules / Forum policies: Post Links

--- End quote ---

No one will reply/assist/help until you do as instructed. This is being repeated for the benefit of others as well as you too.

Maraz:
Ok, this was probably bad place anyway to ask my question, so maybe it will be better to move this topic to normal discusson (not support). If not, then just close it, because it looks like the only way to change background in GB window is to modify body section help.php file, which is outside theme directory, so it isn't possible to solve my problem from theme level.

Maybe this would be great idea for the future to create different body styles in style.css for main gallery and for the GB help window - that way help.php woudn't need to be modified.

Navigation

[0] Message Index

[#] Next page

Go to full version