+ Post New Thread
Results 1 to 4 of 4
Virtual Learning Platforms Thread, Anyone else created your own moodle 2 theme? in Technical; Hi, Having a bit of a nightmare here trying to create a moodle 2 theme. Our current moodle 1.9 was ...
  1. #1

    Join Date
    Nov 2011
    Thank Post
    Thanked 21 Times in 19 Posts
    Rep Power

    Anyone else created your own moodle 2 theme?


    Having a bit of a nightmare here trying to create a moodle 2 theme.

    Our current moodle 1.9 was created by a company but its really simple to understand. trying to re-create this in moodle 2 is just not mooving at all.

    Has anyone else here been through this?

    What guides/books/videos did you use?

    This is a tad of code from our 1.9 theme, how easy is this compared to moodle 2. I cant see why they changed it for, it doesnt look any different.

    * {font-family: tahoma;}
    body {
        background-color: #fff; 
        margin: 0;
    a:link, a:visited {
    	color: #666;
    #header-home {
        height: 100%;
        margin: 2px auto 0;
        width: 1024px;
    #site-title {
        background: url("http://www.edugeek.net/images/site_title.png") no-repeat;
        height: 159px;
        position: absolute;
        top: 50px;
        width: 751px;
    #header-wrap {    
        height: 262px;
        background: url("http://www.edugeek.net/images/header_tile.png") repeat-x #56A5C4;
    #page {
        width: 1100px; 
        margin: 0 auto;
    	background: url("http://www.edugeek.net/images/content_slice.png") repeat-y -5px 0;
    #content {
        margin: 30px 0 0 46px;
        width: 1012px;
    #right-column {
        width: 219px !important;
    #left-column {
        width: 216px !important;

  2. #2
    penfold_99's Avatar
    Join Date
    Feb 2008
    East Sussex
    Thank Post
    Thanked 165 Times in 117 Posts
    Rep Power
    There is a massive difference between 1.9 themes and 2.0 but once you get your head round how 2.0 themes are constructed is it straight forward (there are still the odd quirks buried in there).
    I would have a look at how the standard theme is constructed and copy and rename the folder and tweak the css from there. chrome is very helpful in testing css changes.

  3. #3
    wiseoldowl's Avatar
    Join Date
    Dec 2009
    Thank Post
    Thanked 4 Times in 4 Posts
    Rep Power
    If you use something like Chrome and you're inspecting the Standard theme , you'll see different id tags and classes being used than some of the ones you've listed in your CSS snippett. For example, #content is now #page-content, #right-column is now #side-post and so on. In the theme config file for your new theme you can call the base theme and the standard theme so that you need to do is create your new CSS file and add your modifications to that. You can also add new layout files for your pages and so on but be careful, the theme engine is not consistent over its use of layout pages especially when it comes to admin and report pages. Themes - MoodleDocs is a good start. Hope that helps.

  4. #4
    nyiss's Avatar
    Join Date
    Feb 2012
    Thank Post
    Thanked 20 Times in 17 Posts
    Rep Power
    Quote Originally Posted by dany2010 View Post

    Having a bit of a nightmare here trying to create a moodle 2 theme.

    Just wondering how you got on with this, any progress? I am using 1.9 on our website here and the theme I made was a pain in the rear the first time round I don't know if i'm ready for the headache of changing it to 2.0 if its more effort than its worth.

+ Post New Thread

Similar Threads

  1. Replies: 20
    Last Post: 3rd December 2010, 05:03 PM
  2. [Website] Create your own animated avatar.......using lego blocks!!
    By kieran1388 in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 7th June 2010, 11:41 PM
  3. Replies: 0
    Last Post: 9th January 2010, 05:03 PM
  4. Create my own Sharepoint Theme
    By EduTech in forum Virtual Learning Platforms
    Replies: 18
    Last Post: 1st March 2009, 11:11 AM
  5. create your own it song
    By russdev in forum Other Stuff
    Replies: 7
    Last Post: 23rd November 2005, 05:57 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts