Joomla
Joomla Tutorials
Removing the top position from the rhuk solarflare ii template
|
|
Removing the top position from the rhuk solarflare ii templateLots of people use the default joomla template for their websites. However, this has a nasty top position which is a bit difficult to remove unless you understand CSS really well. To remove the top position from the template, you need to do the following. You need to edit two files:
templates/rhuk_solarflare_ii/index.php
<div id="top_outer">
<div id="top_inner">
<?php
if ( mosCountModules( 'top' ) ) {
mosLoadModules ( 'top' );
} else {
?>
<span class="error">Top Module Empty</span>
<?php
}
?>
</div>
</div>
That removes the box. However, there is still a problem because it collapses other positions into it at this stage. Therefore, you need to edit the template CSS template_css.css file in the following two spots:
First, change the header width by finding
#header
and changing the width to 100%. You can choose to edit the height to suit your logo too.
Second, change the properties of the left modules so they stay in the right place by finding
#left_outer
and adding
clear:both;
somewhere between the {}
That's it, you have now completely eliminated the top module positions. For more information click here: understanding Joomla template positions.
|
||||||||||||||||||||||||||||||||||||||||||