Добрый день форумчане! :)Поставил новый шаблон на сайт а там новости выходят в 2 колонки, а мне нужно чтобы была одна. Подскажите как это сделать.
Вот код из main.tpl
| Цитата |
|---|
<div class="short_news fl" id="short_news_left">
<div class="short_news_head">
<span>Статьи</span>
Все материалы
</div>
{custom category="1" template="shortstory" aviable="main" from="0" limit="2" cache="no"}
</div>
<div class="short_news fl" id="short_news_right">
<div class="short_news_head">
<span>Рецепты</span>
Все материалы
</div>
{custom category="0" template="shortstory" aviable="main" from="0" limit="2" cache="yes"}
</div>[/aviable]
[not-aviable=main]{info}{content}[/not-aviable]
|
Вот код из style.css
| Цитата |
|---|
| Цитата |
|---|
| /* Короткая новость */ |
| Цитата |
|---|
| #content .short_news { |
| Цитата |
|---|
| border: 1px solid #c1bdbd; |
| Цитата |
|---|
| -moz-border-radius-topleft: 0px; |
| Цитата |
|---|
| -moz-border-radius-topright: 0px; |
| Цитата |
|---|
| -moz-border-radius-bottomright: 10px; |
| Цитата |
|---|
| -moz-border-radius-bottomleft: 10px; |
| Цитата |
|---|
| -webkit-border-radius: 0px 0px 10px 10px; |
| Цитата |
|---|
| border-radius: 0px 0px 10px 10px; |
| Цитата |
|---|
| margin-right: 12px; | | Цитата |
|---|
| #content .short_news:last-child { | | Цитата |
|---|
| #content .short_news .short_news_head { |
| Цитата |
|---|
| margin: -2px 0 0 -2px; | | Цитата |
|---|
| #content .short_news .short_news_head span { |
| Цитата |
|---|
| font: 12px Calibri; |
| Цитата |
|---|
| position: relative; | | Цитата |
|---|
| #content .short_news .short_news_head a { |
| Цитата |
|---|
| font: 12px Calibri; |
| Цитата |
|---|
| position: relative; | | Цитата |
|---|
| #content .short_news .short_news_head a:hover { |
| Цитата |
|---|
| text-decoration: none; | | Цитата |
|---|
| #content .short_news .short_news_story { |
| Цитата |
|---|
| font: 10px Tahoma; | | Цитата |
|---|
| #content .short_news .short_news_story span.date { |
| Цитата |
|---|
| font: 10px Calibri; |
| Цитата |
|---|
| padding-bottom: 5px; | | Цитата |
|---|
| #content .short_news .short_news_story a { |
| Цитата |
|---|
| font: bold 11px Tahoma; | | Цитата |
|---|
| #content .short_news .short_news_story img { |
| Цитата |
|---|
| border: 1px solid #e7e7e7; |
| Цитата |
|---|
| margin-right: 5px; | | Цитата |
|---|
| #content .short_news .short_news_story p { |
| Цитата |
|---|
| font: 10px Tahoma; |
| Цитата |
|---|
| padding-bottom: 8px; |
| Цитата |
|---|
| border-bottom: 1px dashed #b9d1a6; | | Цитата |
|---|
| #content .short_news .short_news_story:last-child p { | | Цитата |
|---|
| #content #short_news_left .short_news_head { |
| Цитата |
|---|
background: url("../img/short_news_head.png" top center no-repeat; | | Цитата |
|---|
| #content #short_news_left .short_news_head span { |
| Цитата |
|---|
| margin-right: 80px; | | Цитата |
|---|
| #content #short_news_left .short_news_head span, #content #short_news_left .short_news_head a { |
| Цитата |
|---|
| text-shadow: 0px 1px 0px #681709; |
| Цитата |
|---|
| filter: dropshadow(color=#681709, offx=0, offy=1); | | Цитата |
|---|
| #content #short_news_left .short_news_story span.date { | | Цитата |
|---|
| #content #short_news_right .short_news_head { |
| Цитата |
|---|
background: url("../img/short_news_head.png" bottom center no-repeat; | | Цитата |
|---|
| #content #short_news_right .short_news_head span { |
| Цитата |
|---|
| margin-right: 70px; | | Цитата |
|---|
| #content #short_news_right .short_news_head span, #content #short_news_right .short_news_head a { |
| Цитата |
|---|
| text-shadow: 0px 1px 0px #6c4a09; |
| Цитата |
|---|
| filter: dropshadow(color=#6c4a09, offx=0, offy=1); | | Цитата |
|---|
| #content #short_news_right .short_news_story span.date { |
|