css - Second Text Line Above The First Line -


enter image description here

i'm having issue displaying long title in recent post widget of wordpress site, because when link long, breakes line new line, messing first one, because second line above. tried add css line line-height: 1.6em; in .widgettitle li didn't work , tried couple of more classes possible related name. 0 success on it, doing wrong?

i can see class applying box expecting element, here's url http://experiencias.freeserver.me/. not see class name on of index page nor head code.

.widgettitle {     color:#fff;     background-color:#cc3234;     border: 1px #d9d9d9 solid;     font-size:20px;     padding-left:5px;     box-shadow: rgba(0,0,0, 0.1) 0px 0px 5px;     -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 5px;     -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 5px; }     .textwidget {     list-style-type: none;     font: 14px/16px helvetica, arial, sans-serif;     padding:5px;     line-height: 1.6em; } .widget {     overflow:hidden;     padding: 0 0 10px 10px;     margin: 0 0 10px; } .widget .date {     font-size:11px; } .widget h4 {     font-weight:normal; } .widget .sub-menu {     margin-left:10px; } .widget .sub-menu li{     margin-left:5px; } .widget .menu-main-container li{     list-style-type:square;     margin-left:15px; } .recent-posts li, .tweet-list li {     border-bottom: dotted 1px #555;     padding-bottom: 8px;     margin-bottom: 8px; } .recent-posts li:last-child {     border-bottom:none !important;     padding-bottom:none;     margin-bottom:none; }  .recent-posts h3 {     font-weight: 600;     font-size: 12px; }  .recent-posts h5 {     font-size: 11px;     font-family: helvetica, arial, sans-serif; } 

instead of giving line-height value .widgettitle li, give .widget_recent_entries li a.

the problem didn't declare style selector enough specificity. suspect a tag inherited line-height #sidebar-secondary li.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -