How to Change the Background Color of Elgg

This article will give you a step by step guide on how to change the default background color of Elgg. Login to your site and follow these steps:

1) Go to YourElggFolder/views/default

2) Open the file css.php

3) On the css file, we will go to the DEFAULTS section. In that section is where you can change the background color of your Elgg site:

4) Look for the line that says background. There you can change the color of your Elgg site. For example, we are going to apply the color black as background:

5) Save the changes. Then run upgrade.php in your web browser to see the changes (yourelggsite.com/upgrade.php):

Notes: You can apply any html color to your elgg site.

This now concludes how to change the background color of Elgg.

For more info about Elgg hosting solutions, visit Arvixe-Elgg Hosting

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , , , | Posted under Elgg | RSS 2.0

Author Spotlight

Rodolfo Hernandez

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

7 Comments on How to Change the Background Color of Elgg

  1. Corey Cairns says:

    I discovered your weblog site on google and test just a few of your early posts. Proceed to keep up the excellent operate. I just further up your RSS feed to my MSN Information Reader. Searching for forward to reading more from you afterward!…

  2. Una Cutt says:

    This is precisely the important information I am searching for. Fantastic blog. Exceptionally inspirational! The posts are so very helpful and also detailed. The links you provide are also very beneficial too. Thank you :)

  3. Britni Tucay says:

    I wanted to say thanks to you for this brilliant read!! I certainly loved each and every bit of it. I’ve you bookmarked your website to check out the new stuff you post.

  4. I enjoy the useful information on your site, your posts are going to save me a lot of time and head-ache trying to figure out the things to make my Elgg site more custom. Thanks and keep up the great work… I’ve also had WordPress and WordPress MU sites, I’ve about given up on them due to the endless flood of SPAM and I’ve almost wiped my Elgg site due to 332 users and 776 SPAM posts.

    Any ideas on how-to fix the SPAM issue with Elgg and WP?

  5. Rodolfo Hernandez Rodolfo Hernandez says:

    @Robert Atchison Jr For Elgg you could use either math captcha or image captcha. Read these posts for more info:

    http://blog.arvixe.com/how-to-install-a-tool-to-stop-bot-spammers-in-elgg/

    http://blog.arvixe.com/image-captcha-another-tool-to-stop-bot-spammers-in-elgg/

    Rodolfo Hernandez
    Arvixe/Elgg Community Liaison

  6. elNinho says:

    Hi great post!

    I have a question though:

    what should be done if I want to have one background image/color for my login page and a different one for my dashboard?

    Is it possible to change the color within the php code lets say:
    if(logedIn)
    {
    background: xxxxxx
    }

    ???
    Thanks

  7. Rodolfo Hernandez Rodolfo Hernandez says:

    @elNinho Yes, that is possible. There are two ways: One is to edit the Custom_Index Plugin. The other one is to get a theme from the elgg community and edit the background of that theme.

Leave a Reply

Your email address will not be published. Required fields are marked *


5 + 5 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>