Forums / Templates, Stylesheets, Page Layout / #siteinfoLegal transparent background colour?

#siteinfoLegal transparent background colour?

Locked

Views: 3,164

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
12 Apr 2007, 9:03 PM
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

#siteinfoLegal transparent background colour?

Here's the deal... I've setup a nice gradient background for my site. Now, I want to set the #siteinfoLegal background colour to be transparent (and not white).

Does anyone know if this is possible?

Thanks in advance. :)

My Contributions: Zen Lightbox | Best Sellers Reloaded

12 Apr 2007, 11:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: #siteinfoLegal transparent background colour?

If #siteinfoLegal is the correct tag for the container then:

#siteinfoLegal {
        background-color: transparent;
        }

Should provide what you want

Zen-Venom Get Bitten

14 Apr 2007, 9:19 AM
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: #siteinfoLegal transparent background colour?

Thanks kobra.

This is the first thing I tried (before posting here), but it didn't work. :S

I'm not sure what's wrong. I'm using version 1.3.7 and it's pretty much brand new! This is the second 'tweak' I'm making to the template.

Any other ideas?

Thanks.

My Contributions: Zen Lightbox | Best Sellers Reloaded

14 Apr 2007, 5:04 PM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: #siteinfoLegal transparent background colour?

Alex Clarke:

Thanks kobra.

This is the first thing I tried (before posting here), but it didn't work. :S

I'm not sure what's wrong. I'm using version 1.3.7 and it's pretty much brand new! This is the second 'tweak' I'm making to the template.

Any other ideas?

Thanks.

You could use background: transparent on the mainwrapper and then tweak each of the other section(s) with background:#ffffff.

Only problem I can see with this approach is that the centercolumn will most likely become sort of "half and half" depending on the height of the center.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Apr 2007, 5:08 PM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: #siteinfoLegal transparent background colour?

Alex Clarke:

Thanks kobra.

This is the first thing I tried (before posting here), but it didn't work. :S

I'm not sure what's wrong. I'm using version 1.3.7 and it's pretty much brand new! This is the second 'tweak' I'm making to the template.

Any other ideas?

Thanks.

You could use background: transparent on the mainwrapper and then tweak contentMainWrapper with background:#ffffff.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Apr 2007, 5:12 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: #siteinfoLegal transparent background colour?

Do not know what you are attempting to display??? But this is inside the mainWrapper and transparent will probably not display any different on a default install as it already takes the color defined for the mainWrapper. If you know what color that you want it to match insert that into

#siteinfoLegal {
      background-color: #your_color;
      }

See if that does not work

Zen-Venom Get Bitten

14 Apr 2007, 5:22 PM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: #siteinfoLegal transparent background colour?

kobra:

Do not know what you are attempting to display??? But this is inside the mainWrapper and transparent will probably not display any different on a default install as it already takes the color defined for the mainWrapper. If you know what color that you want it to match insert that into

#siteinfoLegal {
background-color: #your_color;
}

> See if that does not work

I think he's trying to have the body background show through the siteinfoLegal protion of the site. (similar to the header portion.

as I said, the only way I see to accomplish this is to make the mainWrapper transparent and then fill contentMainWrapper with a background color (in this case white.)

BTW, How come we had over a foot of snow in the middle of April?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Apr 2007, 7:48 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: #siteinfoLegal transparent background colour?

as I said, the only way I see to accomplish this is to make the mainWrapper transparent and then fill contentMainWrapper with a background color (in this case white.)
Or he can add what I posted and specify the background color to match the body color.....right? and easy!!
BTW, How come we had over a foot of snow in the middle of April?Because at over a mile high we are closer to God??

Zen-Venom Get Bitten

14 Apr 2007, 11:39 PM
#9
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: #siteinfoLegal transparent background colour?

kobra:

Or he can add what I posted and specify the background color to match the body color.....right? and easy!!

Its and image so he'd have to add it as a background image.

Because at over a mile high we are closer to God??

maybe, hadn't thought of that.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Apr 2007, 1:35 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: #siteinfoLegal transparent background colour?

Alex,

I've setup a nice gradient background for my site. Now, I want to set the #siteinfoLegal background colour to be transparent (and not white).
Is this gradient applied to the body or to the mainWrapper?

siteinfoLegal sits inside of the mainWrapper and takes on the color set for this. If your image is the body - you will have to pull this out of the mainwrapper and attach it to be below this element

Zen-Venom Get Bitten