Unerwünschter Blocksatz in Wordpress-Sidebar

Unerwünschter Blocksatz in Wordpress-Sidebar

Beitragvon cannondale63 » 20.03.2010, 21:10

Hallo
Schaut Euch mal, möglichst im Firefox, die Sidebar rechts unter dem Titel "Aktuell" an. Da habe ich beim Satz "Computer-Hilfe gegen Veloservice" einen unerwünschten Blocksatz drin. Gehe ich richtig in der Annahme, dass dies ein CSS-Problem ist?

Das gesamte Stylesheet lautet:

Code: Alles auswählen
Theme Name: Blue Design
Theme URI: http://www.frimas.com/software/wordpress-themes/blue-design/
Description: Blue Design is a two column theme with a right sidebar.
Version: 1.1.0
Author: FriMas
Author URI: http://www.frimas.com
Tags: blue, white, black, two-columns, fixed-width, right-sidebar
.
This Theme is under GPL License. http://www.opensource.org/licenses/gpl-license.php
.
*/

body
{
   background-color: #E1E3E3;
}

a img {border:none;}

.wp-caption
{
  background-color: #FBFBFB;
  border: 1px solid #E5E5E5;
  overflow: hidden;
  padding: 3px;
   text-align:justify;
}

.wp-caption img
{
   border: 0 none;
   margin: 0;
   padding: 0;
}

.wp-caption p.wp-caption-text
{
   font-size: 12px;
   line-height: 18px;
   padding: 0 4px 5px;
   margin: 0;
}

.more-link
{
   font-size:12px;
}

.alignleft
{
   float:left;
   text-align:left;
   margin-right:10px;
   padding: 8px;
}

.alignright
{
   float:right;
   text-align:right;
   margin-left:10px;
   padding: 8px;
}

.aligncenter
{
   display: block;
   margin-left: auto;
   margin-right: auto;
   padding: 8px;
}

#container
{
   margin: auto;
   width: 970px;
}

#contents
{
   background-image:url('images/body.jpg');
}

#header
{
   height: 130px;
   font-family: Arial, Helvetica, sans-serif;
   color: white;
   background-image:url('images/header.jpg');
}

#header h1
{
   font-size: 35px;
   font-weight: bold;
   padding: 21px 0px 0px 36px;
   margin: 0px;
}

#header h2
{
   font-size: 14px;
   margin: 0px;
   padding: 5px 0px 0px 40px;
   font-style: italic;
   font-weight: normal;
}

#header a, #header a:visited
{
   text-decoration: none;
   color: white;
}

#menu
{
   height: 30px;
   padding: 0px 0px 0px 10px;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16px;
   font-weight: bold;
   text-align: center;
   background-image:url('images/menu.jpg');
   
   overflow: hidden;
}

#menu a
{
   text-decoration: none;
   color: white;
}
         
#menu a:hover
{
   background: black url('images/menu1.png') center center repeat-x;
}
         
#menu a:selected
{
   background: black url('images/menu1.png') center center repeat-x;
}

#menu ul
{
   margin: 0px;
   list-style: none;
   
   padding: 0px;
   float: left;
   border-width: 1px 0;
}

#menu ul li
{
   display: inline;
}

#menu ul li a
{
   float: left;
   color: white;
   padding: 5px 11px;
   text-decoration: none;
   border-right: 1px solid #D2D2D2;
}

#content
{
   width: 500px;
   margin-left: 10px;
   float: left;
   padding: 20px 20px 20px 25px;
}

#sidebar
{
   width: 389px;
   margin-right: 10px;
   float: right;
   padding: 20px 5px 20px 5px;
}

#left_sidebar
{
   float: left;
   width: 180px;
   padding: 5px 5px 5px 5px;
}

#right_sidebar
{
   float: right;
   width: 180px;
   padding: 5px 5px 5px 5px;
}

#left_sidebar ul, #right_sidebar ul
{
   list-style-image:none;
   list-style-position:outside;
   list-style-type:none;
   margin:0;
   padding: 0px 0px 0px 0px;
}

#left_sidebar li, #right_sidebar li
{
   list-style: none;
}

.blocco
{
   width: 170px;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   margin-bottom: 25px;
   text-align: justify;
}
      
.blocco ul
{
   list-style-image:none;
   list-style-position:outside;
   list-style-type:none;
   margin:0;
   padding: 2px 2px 2px 3px;
}
         
.blocco ul ul
{
   padding: 3px 0px 3px 15px;
}

.blocco ul li
{
   padding: 2px 0px 2px 0px;
}

#sidebar h1
{
   border-bottom: 2px solid #0552BD;
   font-family: Arial;
   color: #004D99;
   font-size: 15px;
   font-weight: bold;
}
         
#sidebar a
{
   text-decoration: none;
   color: blue;
}
         
#sidebar a:hover
{
   color: #D7321D;
}
         
#footer
{
   clear: both;
   color: white;
   font-family: Tahoma;
   font-size: 12px;
   padding: 10px 5px 10px 20px;
   height: 25px;
   
   background-image:url('images/footer.jpg');
}

#footer a
{
   color: white;
}
         
.post
{
   margin-top: 5px;
   margin-bottom: 40px;
}
         
.post_title
{
   border-bottom: 1px solid black;
   font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, sans-serif;
   font-size: 17px;
   font-weight: bold;
   padding: 0px 0px 3px 7px;
}

.post_title a
{
   text-decoration: none;
   color: black;
}

.post_date
{
   font-family: Tahoma;
   font-size: 11px;
   color: #990000;
   padding: 3px 0px 5px 5px;
   
}

.fix
{
   clear:both;
}

.cal_ico
{
   float: left;
   line-height: 18px;
   background:url('images/calendar.png') center left no-repeat;
   padding-left:20px;
   padding-top: 1px;
   padding-right: 15px;
}

.author_ico
{
   float: left;
   line-height: 18px;
   background:url('images/user.png') center left no-repeat;
   padding-left:22px;
   padding-top: 1px;
}

.edit_ico
{
   float:right;
   line-height: 20px;
   background:url('images/edit.png') center left no-repeat;
   padding-left:22px;
   padding-right: 10px;
}


.comment_ico
{
   float:right;
   line-height: 20px;
   background:url('images/comments.png') center left no-repeat;
   padding-left:22px;
   padding-right: 15px;
}

.post_text
{
   font-family: Georgia, times, sans-serif;
   font-size: 12px;
   line-height: 18px;
   text-align: justify;
   padding: 3px 7px 10px 7px;
}

.post_text img
{
  max-width: 490px;
}

.post_text a:hover
{
   color: #D7321D;
}

#pagelink
{
   font-family: Arial;
   font-size: 13px;
   font-weight: bold;
   padding-bottom: 5px;
}

.category_ico
{
   line-height: 20px;
   background:url('images/folder.png') top left no-repeat;
   padding-left:22px;
   padding-top: 1px;
}

.tag_ico
{
   line-height: 20px;
   background:url('images/tag.png') top left no-repeat;
   padding-left:22px;
   padding-top: 2px;
}   

.post_info
{
   clear: both;
   border-top: 1px solid #b8cad8;
   border-bottom: 1px solid #b8cad8;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   padding: 4px 4px 4px 4px;
   background-color: #f2f7ff;
   margin-top: 5px;
   line-height: 18px;
   text-align: justify;
}
         
.post_info a
{
   color: blue;
}
         
.post_info a:hover
{
   color: #D7321D;
}

#browse
{
   font-family: Tahoma;
   font-size: 12px;
   padding: 5px;
   margin-bottom: 30px;
}

h3
{
   font-family: Serif;
   font-size: 16px;
   font-weight: bold;
}

#comments
{
   font-family: Arial;
   font-size: 15px;
   font-weight: bold;
}

.comment
{
   font-family: Helvetica;
   font-size: 12px;
   line-height: 18px;
   text-align: justify;
   border: 1px solid #CDD4E5;
   padding: 16px 14px 16px 14px;
   margin-top: 10px;
   margin-bottom: 20px;
}
      
.odd
{
   background-color: white;
}
         
.even
{
   background-color: #F5F8F9;
}
         
.comment_author
{
   font-family: Arial;
   font-size: 13px;
   font-weight: bold;
   padding: 3px 0px 1px 0px;
}

.comment_author a
{
   text-decoration: none;
}

.comment_author a:hover
{
   color: #D7321D;
}

.comment_data
{
   font-family: Arial;
   font-size: 11px;
   color: #9D2C22;
   padding: 1px 0px 8px 0px;
}
         
#ins_comment
{
   font-family: "Lucida Sans Unicode"!important;
   font-size: 12px!important;
   padding: 10px 10px 10px 15px;
}

.comment_num
{
   float: left;
   font-family: Arial;
   font-size: 16px;
   font-weight: bold;
   width: 35px; height: 35px;
   text-align: center;
   border: 1px solid #CDD4E5;
}

.comment_num a, .comment_num a:visited
{
   color: blue;
   text-decoration: none;
}

.gravatar
{
   float: right;
   width: 50px;
   height: 50px;
}

#comment_closed
{
   border: 1px solid #9D2C22;
   padding: 5px 5px 5px 5px;
   font-family: Arial;
   font-size: 15px;
   font-weight: bold;
}

#comment_ins
{
   font-family: Arial;
   font-size: 12px;
}


#social_network
{
   padding: 0px 10px 10px 10px;
   font-family: Tahoma;
   font-size: 12px;
   text-align: left;
}

#social_network img
{
   border: 0;
   padding: 5px;
}

#navigation a
{
   text-decoration: none;
   font-family: Tahoma;
   font-size: 12px;
   color: blue;
}

#archive
{
   font-family: "Lucida Sans Unicode"!important;
   font-weight: bold;
   font-size: 18px;
   color: black;
   padding: 0px 0px 20px 10px;
}

blockquote
{
   border-left: 2px solid #5092D5;
   background-color: #EBF2FF;
   padding: 5px 10px 5px 10px;
}

.archive_title
{
   font-family: Arial;
   font-size: 20px;
   font-weight: bold;
   color: #0039CC;
   margin-bottom: 50px;
}

#error
{
   width:500px;
   margin:auto;
}

#nopost
{
   font-family: Helvetica;
   font-size: 15px;
   font-weight: bold;
   margin-top: 20px;
}


Vielleicht kann mir jemand helfen? Wäre schön, vielen Dank!

Dominik
cannondale63
Gelegenheitsleser
 
Beiträge: 39
Registriert: 19.02.2010, 22:34

Re: Unerwünschter Blocksatz in Wordpress-Sidebar

Beitragvon sejuma » 21.03.2010, 07:19

Sieh im HTML-Code nach, in welchem Element der Blocksatz vorkommt.
Dann suche in der CSS-Datei nach diesem Element und lösche dort die Angabe
Code: Alles auswählen
text-align:justify;
oder ersetze sie durch
Code: Alles auswählen
text-align:left;
Bild
sejuma
Vielposter
 
Beiträge: 788
Registriert: 15.07.2009, 17:46

Re: Unerwünschter Blocksatz in Wordpress-Sidebar

Beitragvon cannondale63 » 21.03.2010, 11:39

Hallo sejuma, hat wunderbar funktioniert, vielen Dank für den Hinweis! Gruss Dominik
cannondale63
Gelegenheitsleser
 
Beiträge: 39
Registriert: 19.02.2010, 22:34

Re: Unerwünschter Blocksatz in Wordpress-Sidebar

Beitragvon rekaju » 08.07.2010, 10:58

Ich habe am gleichen Problem geknabbert und wollte gerade das Forum mit einem neuen Thread bombardieren. Dann habe ich die Such-Funktion bemüht und, et voilá. Vielen Dank.
Friede, Freude, Eierkuchen. FB
Benutzeravatar
rekaju
neu hier
 
Beiträge: 1
Registriert: 08.07.2010, 10:56


Moderatoren: Laus, Moderatoren

Ähnliche Beiträge zu "Unerwünschter Blocksatz in Wordpress-Sidebar"

Zurück zu: CSS für Anfänger

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste