Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Changing the border color / background
Status: closed
October 5, 2010
10:29 pm
Gil Namur
Guest

Hi Ade,

I am trying to change the "white" space around the DCG at this site so that it is #333333

at http://photos.test.lifeasahuman.com/

You'll recognize the theme (Genesis Landscape Child).. dont mind the mess here .. test site ;-)

If I change it in css at line 548, it also makes changes to pages and other elements.

If I try to do it in the DCG Gallery CSS by increasing the gallery border width and changing the border color to #333333 it messes up the padding (or margins) and the DCG runs off to the right.

Is there something I can do in one of the plug in CSS files to make that white border become #333333 .. or .. any easy suggestions?

Thanks and cheers,

Gil

October 6, 2010
7:42 am
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi Gil,

You can take advantage of the body classes and target the CSS like this:

.home #inner {
background-color: #333;
}
Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 7, 2010
6:37 pm
Gil Namur
Guest

Hi Ade,

Thanks :-) If I change it there though it also changes the background color in posts and pages. No worries, I came up with a solution! Change the whole theme color structure!

Cheers
Gil

October 7, 2010
7:10 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi Gil,

That should have worked. The .home class only exists on the home page, and the CSS I gave you works fine for me in Firebug, even on single posts (ie doesn't affect single posts).

Anway, if you prefer a new colour scheme, go for it! Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 7, 2010
7:31 pm
Gil Namur
Guest

Ahem … (insert blush) .. ahem …

Ummm .. it DOES work!!!

Apparently I need better reading glasses …

<— runs off quite embarrassed!

Cheers
Gil

October 7, 2010
10:02 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Gil,

This kind of thing happens to me all the time… Laugh

Glad it's sorted.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: theonsale, nloronacele
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

sjpeaches: 12

speedyp: 12

CherylMcL: 10

littlemerry: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1297

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 978

Posts: 4293

Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi

Moderators:

Administrators: Ade (2490)