Forums

Agency2 Footer Background


Stansfield » 8 months ago
Hello, I checked some things. But I can not find the file to change the background of white from the footer. When I create a new page, the footer is in darkness.

Footer Background is White

Footer in Dark


Stansfield
Level 1

Jimako » 8 months ago
The homepage has the white background because of this:

.layout-homepage footer {
    background: white; 
    color: #222;
}

The standard footer is black:
footer {
    padding: 25px 0;
    text-align: center;
    background: #222;
    color: #fff;
}

So if you want to change this for other layout, then add:
//white background
.layout-sidebar_right  footer {
    background: white; 
    color: #222;
}


JMadmin

Jimako
Main Admin
JMadmin

Stansfield » 8 months ago
Add to first or second? Or Add as seperate?


Stansfield
Level 1

Jimako » 8 months ago
the best way is to add file style_custom.css and add it there. If you have it already, then add it at the end.
the same in style.css - at the end.

You can edit directly style.css and change colour for footer tag (cca line 49). This way it will white for all site.

Oh, I changed code above. I copied by mistake black colour.

EDIT:
- first code is example how is done white colour for homepage
- second code is default black colour for footer tag
- third code is example how to change it for sidebar layout. You can change default too.


JMadmin

Jimako
Main Admin
JMadmin

Stansfield » 8 months ago
Ok done.

I create a style_custom.css and tested it with White. Now it changed the Color from the Custom Pages not from the Landing Site.

http://stansfield.eu/page.php?id=7


Stansfield
Level 1

Jimako » 8 months ago
I thought you wanted white background everywhere.

// black background for homepage
.layout-homepage footer {
    background: #222;
    color: #fff;
}


JMadmin

Jimako
Main Admin
JMadmin

Stansfield » 8 months ago
Since you have misunderstood me. I wanted to have the dark footer everywhere :)


Stansfield
Level 1

Jimako » 8 months ago
@Stansfield is everything clear now?


JMadmin

Jimako
Main Admin
JMadmin

Moderator(s): Jimako

Latest Downloads

JM Download plugin 1.2
in Category: JM Download plugin

JM Download plugin 1.2

2 weeks ago

Plugin for extending the core Download plugin. Version 1.3 on Github Replaced JM_Download plugin, Latest Releases by Father Barry,  Top Downloads menu by SecretR, AACGC Download Tracker by M@CH!N3 V 
Read more..

JM Download plugin 1.2
JM Core plugin 1.6.0
in Category: e107 plugins

JM Core plugin 1.6.0

1 month ago

The version used on this site. It fixes some core limitation via the plugin, no core changes. Check Readme at first.  Version 1.6.1 on github What is inside? - fix for missing titles in the m 
Read more..

JM Core plugin 1.6.0
ReCaptcha plugin 1.3
in Category: ReCaptcha plugin

ReCaptcha plugin 1.3

1 month ago

No CAPTCHA reCAPTCHA Captcha replacement for e107 v2.2 or higher with shortcodes.  Added shortcodes for replacing contact secure image shortcodes. Possibility to hide it from logged users.
Read more..

ReCaptcha plugin 1.3