Jump to content
Sign in to follow this  
NuBiK147

Помогите с CSS на сайте

Recommended Posts

Здравствуйте, есть нубская проблема)) Заключается в следующем, на сайте установлен CMS DLE, публикую статью с коротким описанием, и туда добавляю картинку. После чего она вот так выглядит на сайте:

png&tknv=v2&size=2048x2048

Но если в панели убираю displayblock, то все хорошо. Но посмотрев этот код во всем css файлах, я так его и не нашел. Подскажите, как убрать вторую большую картинку?

png&tknv=v2&size=2048x2048

Share this post


Link to post
Share on other sites

Как видно по скриншоту эта строка не в css. Ищите в выводе материалов. Или же могу помочь, напишите в ЛС)

Share this post


Link to post
Share on other sites

В шаблоне почему то два shortstory.tpl, первый:

<div class="col-lg-12 my animated fadeIn">
    <div class="card mb15 [xfvalue_panel]" style="width: 100%;">
        <div class="card-body" style="padding: 10px;">
            <div class="row my">
                <div class="col-md-4 my">
                    [fixed]<span class="badge badge-warning badge-pill" style="position: absolute;z-index: 9;margin: 5px;font-size: 12px;padding: 3px 6px 3px 6px;">Важная статейка!</span>[/fixed]
                   <a href="{full-link}"><img src="{image-1}" alt="{title}" width="100%"></a>
                </div>
                <div class="col-md-8 my">
                     <img src="{category-icon}" class="float-right" style="width: 18px;margin: 0px 0px 5px 5px;" data-toggle="tooltip" title="{category}"> 
       
        <span class="badge badge-primary float-right"></span>
       
                  
                    <div class="sh noimg">
                       
                         <h2 class="short-title">
                            <a href="{full-link}">{title}</a>
                        </h2>
                        {short-story}
                        [tags]<div style="margin-top:10px;"></div> <span class="fa fa-slack" style="color: #AAB2BD;"></span> {tags}[/tags]
                     	[edit-date]<div class="alert alert-warning" role="alert" style="margin-top: 10px;font-size: 83%;">
      						<p class="editdate" style="margin:0px;">Новость отредактировал: <b>{editor}</b> - {edit-date}<br>
          				[edit-reason]Причина: <b>{edit-reason}</b>[/edit-reason]</p>
     					 </div>
      					[/edit-date]
                    </div>
                </div>
            </div> 
        </div>
<div class="card-footer text-muted">
    [rating]
		[rating-type-2]
		<div class="rate_like" title="Мне нравится">
		[rating-plus]
			<button class="btn btn-sm btn-light float-right" aria-pressed="true" style="margin: -3px -5px 0 0;padding: 2px 6px 2px 6px;position: absolute;right: 14px;" data-placement="left" data-toggle="tooltip" title="Мне нравится"><span class="icon-heart" style="font-weight: bold;font-size: 13px;color: #E9573F;"></span> {rating}</button>
		[/rating-plus]
		</div>
		[/rating-type-2]
	[/rating]
	<ul class="list-inline" style="margin:0px;font-size: 80%;">
  		<li class="list-inline-item"><img cass="hidden-sm" src="{foto}" onclick="ShowProfile('{login}', '{login}', '1'); return false;" alt="{login}" style="width: 28px;height: 28px;margin: -13px 10px -10px -10px;border-radius: 50%;object-fit: cover;" /> <span class="short-title hidden-xs" style="font-size: 13px;">{author}</span></li>
  		<li class="list-inline-item gf"><span class="icon-puzzle" style="font-weight: bold;font-size: 13px;"></span> <span class="short-title" style="font-size: 13px;">{link-category}</span></li>
  		<li class="list-inline-item"><span class="icon-calendar" style="font-weight: bold;font-size: 13px;"></span> <time datetime="{date=Y-m-d}T{date=H:i:s}" class="ago" data-toggle="tooltip" title="{date}">{date=Y-m-d}</time></li>
		<li class="list-inline-item"><span class="icon-eye" style="font-weight: bold;font-size: 13px;"></span> {views}</li>
    </ul>
</div>
    </div>
</div>

Второй shortstory_tablet.tpl:

<div class="col-lg-6 my animated fadeIn">
<div class="card mb15 [xfvalue_panel]" style="width: 100%;">
    [fixed]<span class="badge badge-warning badge-pill" style="position: absolute;z-index: 9;margin: 5px;font-size: 12px;padding: 3px 6px 3px 6px;">Важная статейка!</span>[/fixed]
  <a href="{full-link}"><img class="card-img-top" src="{image-1}" alt="{title}" style="width: 100%;height: 250px;object-fit: cover;padding: 5px;"></a>
 <!-- <div class="card-img-overlay">
    <h4 class="card-title">Card title</h4>
    <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
    <p class="card-text">Last updated 3 mins ago</p>
  </div>-->
  <div class="card-body">
    [xfgiven_stoimost]
        <span class="badge badge-primary float-right">[xfvalue_stoimost]</span>
        [/xfgiven_stoimost]
      <div style="margin-bottom: 10px;border-bottom: 1px solid #e6e7eb;"><span class="icon-puzzle" style="font-weight: bold;font-size: 13px;"></span> <span class="short-title" style="font-size: 13px;">{link-category}</span></div>
    <div class="short-title">
       <a href="{full-link}">{title}</a>
    </div>
      
    <p class="card-text noimg">{short-story limit="200"}</p>
      [tags]<div style="margin-top:10px;"></div> <span class="fa fa-slack" style="color: #AAB2BD;"></span> {tags}[/tags]
      
      [edit-date]<div class="alert alert-warning" role="alert" style="margin-top: 10px;font-size: 83%;">
      						<p class="editdate" style="margin:0px;">Новость отредактировал: <b>{editor}</b> - {edit-date}<br>
          				[edit-reason]Причина: <b>{edit-reason}</b>[/edit-reason]</p>
     					 </div>
      					[/edit-date]
  </div>
    <div class="card-footer text-muted">
    [rating]
		[rating-type-2]
		<div class="rate_like" title="Мне нравится">
		[rating-plus]
			<button class="btn btn-sm btn-light float-right" aria-pressed="true" style="margin: -3px -5px 0 0;padding: 2px 6px 2px 6px;position: absolute;right: 14px;" data-placement="left" data-toggle="tooltip" title="Мне нравится"><span class="icon-heart" style="font-weight: bold;font-size: 13px;color: #E9573F;"></span> {rating}</button>
		[/rating-plus]
		</div>
		[/rating-type-2]
	[/rating]
	<ul class="list-inline" style="margin:0px;font-size: 80%;">
  		<li class="list-inline-item"><img cass="hidden-sm" src="{foto}" onclick="ShowProfile('{login}', '{login}', '1'); return false;" alt="{login}" style="width: 28px;height: 28px;margin: -13px 10px -10px -10px;border-radius: 50%;object-fit: cover;" /> <span class="short-title hidden-xs" style="font-size: 13px;">{author}</span></li>
  		<li class="list-inline-item"><span class="icon-calendar" style="font-weight: bold;font-size: 13px;"></span> <time datetime="{date=Y-m-d}T{date=H:i:s}" class="ago" data-toggle="tooltip" title="{date}">{date=Y-m-d}</time></li>
		<li class="list-inline-item"><span class="icon-eye" style="font-weight: bold;font-size: 13px;"></span> {views}</li>
    </ul>
</div>
</div>
</div>



 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...