Требуется помощь по шаблону DLE
Страницы: 1
[ Закрыто ] Требуется помощь по шаблону DLE, Как объединить контент
Добрый день форумчане! :)Поставил новый шаблон на сайт а там новости выходят в 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 {
Цитата
  width: 224px;
Цитата
  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 {
Цитата
  margin: 0;
Цитата
}
Цитата
#content .short_news .short_news_head {
Цитата
  margin: -2px 0 0 -2px;
Цитата
}
Цитата
#content .short_news .short_news_head span {
Цитата
  font: 12px Calibri;
Цитата
  color: #fff;
Цитата
  position: relative;
Цитата
  top: 3px;
Цитата
  left: 8px;
Цитата
}
Цитата
#content .short_news .short_news_head a {
Цитата
  font: 12px Calibri;
Цитата
  color: #fff;
Цитата
  position: relative;
Цитата
  top: 3px;
Цитата
}
Цитата
#content .short_news .short_news_head a:hover {
Цитата
  text-decoration: none;
Цитата
}
Цитата
#content .short_news .short_news_story {
Цитата
  width: 214px;
Цитата
  margin: 0px auto;
Цитата
  font: 10px Tahoma;
Цитата
  color: #8d8d8d;
Цитата
}
Цитата
#content .short_news .short_news_story span.date {
Цитата
  width: 100%;
Цитата
  font: 10px Calibri;
Цитата
  display: block;
Цитата
  padding-bottom: 5px;
Цитата
}
Цитата
#content .short_news .short_news_story a {
Цитата
  font: bold 11px Tahoma;
Цитата
  color: #438a2b;
Цитата
}
Цитата
#content .short_news .short_news_story img {
Цитата
  width: 60px;
Цитата
  height: 37px;
Цитата
  border: 1px solid #e7e7e7;
Цитата
  float: left;
Цитата
  margin-right: 5px;
Цитата
}
Цитата
#content .short_news .short_news_story p {
Цитата
  font: 10px Tahoma;
Цитата
  color: #8d8d8d;
Цитата
  margin: 5px 0;
Цитата
  padding-bottom: 8px;
Цитата
  border-bottom: 1px dashed #b9d1a6;
Цитата
}
Цитата
#content .short_news .short_news_story:last-child p {
Цитата
  border: none;
Цитата
}
Цитата
#content #short_news_left .short_news_head {
Цитата
  background: url("../img/short_news_head.png"smile;) top center no-repeat;
Цитата
  width: 228px;
Цитата
  height: 39px;  
Цитата
}
Цитата
#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 {
Цитата
  color: #cf2f12;
Цитата
}
Цитата
#content #short_news_right .short_news_head {
Цитата
  background: url("../img/short_news_head.png"smile;) bottom center no-repeat;
Цитата
  width: 228px;
Цитата
  height: 39px;  
Цитата
}
Цитата
#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 {
Цитата
  color: #cd8d11;
Цитата
}
еще бы shortstory.tpl увидеть, а лучше сразу сайт посмотреть
спасибо, тема больше не актуальна. можно закрывать.
Цитата
Илья Огрызько пишет:
спасибо, тема больше не актуальна. можно закрывать.

Илья Огрызько, спасибо, что отписались.
Тему закрыл и перенёс в раздел "Х".
Страницы: 1
Похожие темы:
Читают тему (гостей: 1, пользователей: 0, из них скрытых: 0)
Новые темыОбъявленияСвободное общение
22:45 этот контент krab6a cc 
16:35 Телега на ручнике: РКН включил замедление и логи админок покраснели 
11:48 WB и Ozon - новые "русские поисковики"? Яндекс теряет коммерческую выдачу 
13:45 SEO под нейро 
13:07 MAX выкатил приватные каналы - закрытые тусы теперь лепишь за минуту 
21:45 Раскрутка форума 
18:07 Гугл уходит из России: почему интернет тормозит и что делать 
22:01 BestX24 - быстрый и безопасный обменник криптовалют и электронных денежных средств 
16:40 Monitex: Мониторинг с кэшбэком 80% в USDT 
16:36 Мониторинг обменников Сrypto-scout.io 
15:53 Продам аккаунты Gmail USA IP | Gmail MIX IP | Outlook Old 
13:49 Linken Sphere – браузер-антидетект нового поколения 
12:15 Скрипт обменника валют 
04:47 Onechange.me — надежный обменник криптовалют и фиатных средств 
22:26 Добро пожаловать в цифровой мир... 
21:27 Точные прогнозы на футбол 
18:38 Оцифровка старых физических фотографий 
14:02 блокировка youtube 2026: ркн начинает «выдавливание». кто уже пробовал вк видео? 
13:55 Туалетные секреты: Замурчательная тема 
23:03 Ставки на супер тренды в спорте 
18:43 Индия влепила Intel 3 ляма баксов за дискриминацию по гарантии