We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Fixed Background | Forum

Topic location: Forum home » Development » Themes
Nicholas Anderson
Nicholas Anderson Mar 4 '12
I'm currently using the theme graphite plus and I would like the background to be fixed, so the text a the transparent white background moves but the main background doesn't. Can some one help?
DeFender
DeFender Mar 5 '12
base.css
background-position: fixed;
Nicholas Anderson
Nicholas Anderson Mar 5 '12
What line in base.css?
DeFender
DeFender Mar 5 '12
Where do you put your background image ?
Nicholas Anderson
Nicholas Anderson Mar 6 '12
Take a look at my website: http://www.andersoncentral.net/ I need the black pattern background to stay put (fixed)
The Forum post is edited by Nicholas Anderson Mar 6 '12
DeFender
DeFender Mar 6 '12
just replace

.ow_page_container
{
    background-color: #fff;
    background-image: url('http://andersoncentral.net/...s/theme_image_45.jpg'); /** OW_Control type:image, key:backgroundImage, section: 1. General Settings, label: Page background image **/
    background-attachment: fixed;
}

.ow_page_container .ow_page
{
    padding: 35px 18px 18px;
    min-height: 400px;
    color: #333;/** OW_Control key:textColor **/
    background-color: #F1F1F1;
    opacity:0.7;
    filter:alpha(opacity=70);/** for IE **/
}

you can change the opacity and background-color #F1.....
thats all:)


The Forum post is edited by DeFender Mar 6 '12
Nicholas Anderson
Nicholas Anderson Mar 6 '12

It worked but how do I make the text background white?

DeFender
DeFender Mar 6 '12
background-color: #FFFFFF;
opacity:1.0;
    filter:alpha(opacity=100);/** for IE **/
The Forum post is edited by DeFender Mar 6 '12
Nicholas Anderson
Nicholas Anderson Mar 6 '12
Thanks!
Nicholas Anderson
Nicholas Anderson Mar 6 '12
How do I fix the head area? the part where the login is...
DeFender
DeFender Mar 7 '12
wrap {component class='BASE_CMP_Console'} with new divs in ddindex and general template files

create rule for div in base.css
like

.ow_fixlogin
{
    z-index:3;
    position: fixed;
    top: 0;
    width:100%;
}
Nicholas Anderson
Nicholas Anderson Dec 19 '12
I just updated to 5.0. How do I fix it now?
DeFender
DeFender Dec 20 '12
same way