|
How to add a module in the header area of Aqua |
This will add a module in the header area of the Joomlashack Aqua Template.
First your going to make your index.php to look like this.
-
<div id="outerwrap">
-
<div id="header">
-
<h1><a href= "<?php echo $mosConfig_live_site;?>/index.php" title= "<?php echo $mosConfig_sitename; ?>"><?php echo $mosConfig_sitename; ?></a></h1>
-
<div id="headerbox"><?php mosLoadModules ( 'toolbar', -2 ); ?></div>
-
</div>
-
<div id="navcontainer">
-
<div id="navbar">
Then add the following to your customize.css
-
/*This CSS controls format of the toolbar module*/
-
#toolbar {right:20px;top:4em;font-size:90%;line-height:1em;text-align:right;width:auto;}
-
#toolbar .moduletable-text{width:300px;font-size:80%;text-align:left;}
-
#toolbar .moduletable-small{/*Intentionally blank*/}
-
#toolbar h3 {font-family:Arial, Helvetica, sans-serif;font-weight:bold;margin:0;padding:0;}
-
#toolbar p {font-family:Arial, Helvetica, sans-serif;margin:0;padding:0;}
Set your module Class Suffix to '-small' if your using this for search and use '-text' for any of the bigger modules.
Trackback(0)
|