Into the theme CSS go two properties like
.row-odd {
background-color:brightcolor;
}
.row-even {
background-color:darkercolor;
}
.row-odd {
background-color:brightcolor;
}
.row-even {
background-color:darkercolor;
}
Hi Daryl,
with CSS you can address many objects by their CLASS or ID or using "contextual selectors" relative to the parents CLASS or ID.
If you for example look at the new DIV framework of the course page
HTML
HEAD
BODY id="course-view" class="course"
DIV id="page"
DIV id="header"
DIV id="nav-bar"
DIV id="content"
DIV id="course-content"
TABLE id="layout-table"
TR
TD id="left-column"
TD id="middle-column"
TD id="right-column"
DIV id="footer"
You can address the TR of the main layout-table and change the background color of the course page starting beyound the navbar and ending before the footer:
#layout-table TR {background-color: #FFD991}Could I answer your question with this example or do you want to change the backgrounds of a special table row background? Could you then please tell exactly which ones? With contextual selectors much can be done, but not everything.
Good luck
Urs
Hi Genner,
you will be able to control the distance between the blocks by CSS.
Urs
Hi Dan,
with the DIV and ID hooks in the Moodle 1.5 page framework you can do what you want. For example the discussion page in the forum will look like:
HTML
HEAD
BODY id="mod-forum-discuss" class="mod-forum"
DIV id="page"
DIV id="header"
DIV id="nav-bar"
DIV id="content"
DIV class="forum-content"
DIV id="footer"
All CSS properties starting with
Hi David,
purely great work
I downloaded your files, put them in my local Moodle 15 installation and changed the CSS. Have a look. It's nice and quite promissing styling your blocks with CSS.
One thing I found: Entered text is not shown in the "Main Menu"
Keep on going.
Urs