Joomla! Forum Schweiz wird Teil der D-A-CH Community

Nach vielen Jahren als zentrale Anlaufstelle für Fragen rund um Joomla! in der Schweiz wird das Joomla! Forum Schweiz künftig als Archiv weitergeführt.

Die Joomla!-Communities aus Deutschland, Österreich und der Schweiz arbeiten heute enger denn je zusammen. Deshalb bündeln wir künftig auch den deutschsprachigen Support und Austausch an einem gemeinsamen Ort im Joomla! D-A-CH Forum.

Für neue Fragen, Diskussionen und den Austausch mit der Community nutzt bitte ab sofort:

forum.joomla.de

Das Joomla! Forum Schweiz bleibt weiterhin bestehen und wird als Archiv im Lesemodus erhalten. Die vielen Beiträge, Lösungen und Erfahrungen aus den vergangenen Jahren bleiben damit weiterhin zugänglich und über die Suche auffindbar.

Wir bedanken uns herzlich bei allen Mitgliedern, Moderatoren und Helfern, die das Schweizer Joomla! Forum über viele Jahre mit ihrem Wissen und ihrem Engagement geprägt haben.

Wir sehen uns im Joomla! D-A-CH Forum!

Neue Userpositionen verschieben den Content

  • relsig
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
19 Juni 2009 16:07 #22217 von relsig
Hallo

Ich habe auf meiner Seite ( --ALTER LINK WURDE ENTFERNT-- ) nachträglich zwei Userpositionen (2 und 5) eingebaut. Dadurch wird der Sidebar rechts nach unten geschoben und ich bringe diesen nicht mehr nach oben. Kann da jemand helfen?

Gruss

Roger

hier die index.php Datei und die CSS Datei.
Code:
... <body> <div id="wrap"> <?php if($this->countModules('user3')) : ?> <div id="topcontent"> <div id="header"> <div id="logo"><a href="index.php"><img src="<?php echo $this->params->get('vereinslogo_bild');?>" alt="<?php echo $this->params->get('vereinsname');?>" title="<?php echo $this->params->get('vereinsname');?>" /> </div> <div id="flashheader"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="75" id="headerflash"> <param name="movie" value="<?php echo $this->params->get('flash_bild');?>" /> <param name="quality" value="high" /> <param name="menu" value="false" /> <param name="wmode" value="opaque" /> <!--&#91;if !IE&#93;> <object type="application/x-shockwave-flash" data="<?php echo $this->params->get('flash_bild');?>" width="780" height="75"> <param name="menu" value="false" /> <!--<!&#91;endif&#93; <img src="<?php echo $this->params->get('alternatives_bild');?>" alt="<?php echo $this->params->get('vereinsname');?>" title="<?php echo $this->params->get('vereinsname');?>"/> <!--&#91;if !IE&#93;> </object> <!--<!&#91;endif&#93; </object> </div> </div> <div id="topmenue"><jdoc:include type="modules" name="user3" /><jdoc:include type="modules" name="user4" style="xhtml"/></div> </div> <?php endif; ?> <div id="sidebar"> <div class="inside"> <jdoc:include type="modules" name="left" style="xhtml"/> <?php if($this->countModules('syndicate')) : ?> <div id="syndicate_cnt"> <jdoc:include type="modules" name="syndicate" style="xhtml"/> </div> <?php endif; ?> </div> </div> Neu eingefügt... <div id="content" <?php if(($this->countModules('user2') || $this->countModules('user5'))) : ?>> <div class="inside"> <div class="subcolumns"> <div class="c50l"> <div class="subcl"> <jdoc:include type="modules" name="user2" style="xhtml"/> </div> </div> <div class="c50r"> <div class="subcr"> <jdoc:include type="modules" name="user5" style="xhtml"/> </div> </div> </div> </div> <?php endif; ?> </div> neuer code fertig. <div id="content" <?php if((!$this->countModules('right') && !$this->countModules('top'))) : ?> style="width:75%;"<?php endif; ?>> <div class="inside"> <!--<span class="nisi">XOPQBNMKK</span> <jdoc:include type="component" /> <jdoc:include type="message" /> </div> </div> <?php if(($this->countModules('right') || $this->countModules('top'))) : ?> <div id="sidebar-2"> <div class="inside"> <jdoc:include type="modules" name="top" style="xhtml"/> <jdoc:include type="modules" name="right" style="xhtml"/> </div> </div> <?php endif; ?> <div id="footer"> <div class="inside"> <div align="center"><b>&copy; <?php if($this->params->get('my_copyright')) : ?> <?php echo date(Y); ?> <?php echo $this->params->get('my_copyright');?> <?php endif; ?> </b> </div> </div> </div> </div> </body>
Code:
@charset "UTF-8"; /* CSS Document */ * { margin: 0; padding: 0; border: 0; } body { text-align:center; color:#333; } h3 { margin-top:15px; font-size:1.4em; font-weight:bold; padding:4px; } h4 { margin-top:15px; font-size:1.2em; font-weight:bold; } #wrap { min-width:900px; max-width:1000px; width:auto !important; width:1000px; margin:0 auto; text-align:left; margin-top: 10px; } #topcontent { line-height:200%; } #pathway { padding-left: 4px;line-height:200%; white-space:nowrap; font-size:12px; } #sidebar { float:left; width:15%; overflow:hidden; margin-bottom:20px;} #content { float:left; width:61%; overflow:hidden; line-height: 175%; padding:0 2%; margin-top:10px; text-align:justify !important; margin-bottom:20px;} #sidebar-2 { float:left; width:20%; overflow:hidden; line-height:175%; margin-bottom:20px;} #footer { clear:both;} #logo {float:left; left:5px; } #flashheader { float: left; position:relative; left:0px; top:0px; width:100px; height:75px;} #content a { text-decoration:none; font-weight:bold; } #content a:hover { text-decoration:none; font-weight:bold; opacity:0.7; } DIV.subcolumns { width:100%; } DIV.subcl { float:left; width:49%; background-color: #f8cfcf; border:1px solid #de1111; } DIV.subcr { float:right; width:49%; background-color: #f8cfcf; border:1px solid #de1111; } DIV.subcolumns h3 { margin-top:2px; font-size:1.2em; font-weight:bold; padding:0px 2px 0px 10px; } .moduletable_menu h3, .moduletable h3 { margin-top:15px; font-size:1.2em; font-weight:bold; padding:4px; } .menu li a:link, .menu li a:active, .menu li a:hover, .menu li a:visited, a.mainlevel { display:block; text-decoration:none; padding:4px; color:#333; border-bottom:1px dotted #CCC; } .menu li a:hover, a.mainlevel:hover { color:#FFF; } #header { height:75px; } #header h2 { font-size:28px; padding:20px 4px; } #header .inside { min-width:800px; max-width:1000px; width:auto !important; width:1000px; margin:0 auto; text-align:left; } .contentheading { font-size:1.5em; font-weight:bold; } .componentheading { font-size:2em; padding:4px 0; } .small { font-size:0.9em; font-weight:bold; color:#888; } .createdate, .modifydate { font-size:0.9em; display:block; font-weight:bold; color:#666; border-top:1px dotted #CCC; border-bottom:1px dotted #CCC; } #content ul { margin-left:15px; list-style : none; list-style-image: none; margin-bottom: 2px; margin-top: 2px; } #content ul li { line-height : 15px; padding-left : 10px; padding-top : 0; background-image : url(../images/strelka.gif) ; background-repeat: no-repeat; background-position: 0 5px; margin: 4px 2px 4px 2px; } #topcontent { margin-top:-10px; } #content td { padding-right:5px; } #mod_login_username, #mod_login_password { margin-top:3px; width:93%; border:1px solid #DDD; padding:2px; } #mod_login_remember { margin-left:4px; } #sidebar .button { padding:1px; margin-top:10px; margin-bottom:10px; border:1px solid #000; } #sidebar-2 table td { text-align:left; padding-top: 2px; padding-bottom: 2px; } #sidebar-2 .button { padding:1px; margin-top:10px; margin-bottom:10px; border:1px solid #000; } #topmenue { padding:4px; padding-bottom:5px; } #topmenue ul li{ list-style:none; display:inline; margin-left:10px; } #topmenue ul li a{ color:#fff; text-decoration:none; font-size:11px; font-weight:normal; } #topmenue ul li a:hover{ border-bottom:3px double #fff; } #active_menu-nav { border-bottom:2px double #fff !important; } #headerpicture { margin-top:1px; height:75px; } .menu li.parent{ background:url(../images/arrow_down.png) top right no-repeat; } .menu li.parent#current { background:url(../images/arrow_down_white.png) top right no-repeat; } .menu li.parent#current a{ color:#FFF; } .menu li.parent#current li a:link, .menu li.parent#current li a:visited, .menu li.parent#current li a:active{ background-color:#FFF; } .menu li.parent#current li a:hover { background-color:#FFF; opacity:0.8; } #current a{ color:#FFF; opacity:0.8; } .menu li.parent.active a{ color:#FFF; border-bottom:1px dotted #fff; } #sidebar td { padding-left:3px; } .pagenavcounter { font-weight:bold; } .contenttoc { margin-left:10px; padding-left:10px; border-left:1px dotted #CCC; border-bottom:1px dotted #CCC; } .contenttoc th { text-decoration:underline; } .nisi { display:none; } #content input{ border:1px solid #CCC; padding:2px; font-size:11px; } .sectiontableentry1 img, .sectiontableentry2 img{ margin:3px; } .tool-tip { background:#fff; padding:3px; text-align:left; } .tool-title { font-weight:bold; } #footer { padding:5px; padding-bottom:10px; padding-top: 5px; } #syndicate_cnt { display:block; margin-top:10px; padding:4px; } #syndicate_cnt * a{ font-weight:bold; color:#666; text-decoration:none; } .search #mod_search_searchword { font-size:11px; padding:3px; padding-left:7px; } .search { text-align:right; float:right; margin-top:0px; margin-bottom:0px; } .highlight { color:#FF0000; padding:2px; border:1px solid #FF0000; } fieldset { border-bottom:1px dotted #CCC; margin:5px auto; padding-bottom:5px; } .inputbox { border:1px solid #CCC; padding:2px; }
Mehr
19 Juni 2009 18:28 #22222 von ghosty
Admin hinweis: Thema aus Allgemein nach Templates verschoben
  • relsig
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
23 Juni 2009 19:34 #22257 von relsig
Hat sich erledigt.
Moderatoren: Tribal6RePaoDragonlordChris Hoefligerpascaleadiheutschi.ch
Powered by Kunena Forum

Joomla! Verband Schweiz - Mitglied werden