Thank you for the tutorial.
I figured it out to set up these 2 new module positions - but somehow the positioning doesnot work as I expected.
Check:
http://www.cool-o-mat.com/zentrum/cms/ The Logo module at the top left is cool so far - but I need the navigation beneath to start below the logo - not overlapping.
That's the code I put into default.php:
- Code: Select all
<?php if($this->API->modules('logo')) : ?>
<div id="gkHeaderMod">
<jdoc:include type="modules" name="logo" style="<?php echo $this->module_styles['logo']; ?>" />
</div>
<?php endif; ?>
I have implemented these lines of code to the custom.css:
- Code: Select all
.logo {
float: right;
padding-left: 0;
margin-bottom:100px;
}
But the margin doesnot affect anything at all
Then I wanted to set the topnav from its original position to the cart position.
So I set up topnav2 in the default.php like this:
- Code: Select all
<?php if($this->API->modules('topnav2')) : ?>
<div id="gkTopMenu">
<jdoc:include type="modules" name="topnav2" style="<?php echo $this->module_styles['topnav2']; ?>" />
</div>
<?php endif; ?>
And added this code to the custom.cc:
- Code: Select all
.topnav2 {
float: right;
height: 38px;
line-height: 38px;
}
But the topnav still appears at the left side under the logo :-/
Bildschirmfoto 2014-07-03 um 10.03.09.png