Your header.html file contains two divs that need to be removed:
<div class="clearer"> </div>
<div class="clearer"> </div>
Then, add the following to your CSS to get rid of the layout table top margin:
#layout-table {margin-top:0;}
Patrick Malley
Posts made by Patrick Malley
You would make all of your changes in the newly created styles.css.
Does this answer your question?
Does this answer your question?
This gets asked a lot, so I'll try my best to explain things.
If you are creating your own custom theme from scratch:
Duplicate the Standard theme, rename it, clear out all of the stylesheets except for ie6.css and ie7.css, and add a new blank stylesheet called styles.css.
Open config.php and edit line 9 to look like this:
$THEME->sheets = array('styles');
Your theme will load all of the Standard files before loading its own. All styles you add to styles.css will change the Standard theme to suit your needs.
This is the method I use (more or less) to create all of my themes. It is the best option if you want to make several changes, but want to maximize compatibility with future Moodle upgrades.
If you like another theme, let's say "Wood", but you want to make some minor changes to that theme, follow all of the steps above, and:
Change line 16 of config.php to the following:
$THEME->standardsheets = false;
and change line 31 to:
$THEME->parent = 'wood';
What you're essentially doing here is saying "No, don't include the Standard stylesheets because I'm using Wood as a parent theme, which calls up the standardsheets itself."
The only reason you would do this instead of editing the Wood theme directly is to save the changes you've made during future upgrades.
If you are creating your own custom theme from scratch:
Duplicate the Standard theme, rename it, clear out all of the stylesheets except for ie6.css and ie7.css, and add a new blank stylesheet called styles.css.
Open config.php and edit line 9 to look like this:
$THEME->sheets = array('styles');
Your theme will load all of the Standard files before loading its own. All styles you add to styles.css will change the Standard theme to suit your needs.
This is the method I use (more or less) to create all of my themes. It is the best option if you want to make several changes, but want to maximize compatibility with future Moodle upgrades.
If you like another theme, let's say "Wood", but you want to make some minor changes to that theme, follow all of the steps above, and:
Change line 16 of config.php to the following:
$THEME->standardsheets = false;
and change line 31 to:
$THEME->parent = 'wood';
What you're essentially doing here is saying "No, don't include the Standard stylesheets because I'm using Wood as a parent theme, which calls up the standardsheets itself."
The only reason you would do this instead of editing the Wood theme directly is to save the changes you've made during future upgrades.
The problem is that you've specified a class to be styled in your CSS:
.blue_box
and are using an id in your HTML.
Periods (.) identify classes in CSS.
use
div class="blue_box"
and you should be all good.
.blue_box
and are using an id in your HTML.
Periods (.) identify classes in CSS.
use
div class="blue_box"
and you should be all good.
Mario,
Note that when looking at a forum thread, the search forums text box does appear in the position of navbutton. This is not a sideblock issue.
Note that when looking at a forum thread, the search forums text box does appear in the position of navbutton. This is not a sideblock issue.