wbs wrote: ↑Mon Aug 13, 2018 6:16 am
Another thing: I'm trying to put the leftbar to the right side. I tried moving the content container, but when I do this I'm missing the padding/margin/whatever for my content.
Is there an easy way to make a rightbar happen?
Dazu musst du im Template einfach die Reihenfolge ändern:
template.htm
ab Zeile 66 ausschneiden:
Code: Select all
...
<div class="row content"> <!-- Diese Zeile NICHT -->
...
<div class="c24"> <!-- ab hier ausschneiden -->
<div class="secmenu c8 mw240">
<div id="search1"><?php echo searchbox();?></div>
<?php echo toc(2,9);?>
<div id="newsboxes">
<section class="news">
<div class="newsin"><?php echo newsbox('News01');?></div>
</section>
<section class="news">
<div class="newsin"><?php echo newsbox('News02');?></div>
</section>
</div>
</div>
</div> <!-- bis hier -->
...
<div class="maincont c16 mw240"> <?php echo content();?> <!-- Diese Zeile NICHT -->
...
Und genau hier wieder einfügen:
Code: Select all
...
</noscript>
</div>
<!-- hier einfügen -->
</div>
</div>
<div class="row-full-width" id="footer">
...
Den Abstand des Inhalts korrigierst du in stylesheet.css:
Zeile 155:
Code: Select all
.maincont {
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
padding: 3em 2em; /*** Diese Zeile ändern ***/
}
wbs wrote: ↑Mon Aug 13, 2018 6:16 am
Last but not least I'd like to have a fixed mininal width for all menu items. It should bei the width of the longest menu item.
In navi.css
Zeile 93 ändern
Code: Select all
.nav_horizontal li {
width: 10em;
}
Mit den 10em musst du halt experimentieren, bis es bei dir passt.
Soll es eine Mindest-Breite sein, dann besser: