S
S
Skifskif2014-10-29 14:55:53
CMS
Skifskif, 2014-10-29 14:55:53

How to hide a block on a specific page of the site?

Site grandbetting.ru/statistic - on the right sidebar with blocks "Reviews", "Learn more!" etc. It is necessary that this block is NOT visible on this page.
This block is written in the file like this:

<div class="R">
            <!-- INCLUDE widget/testimonials.tpl -->
            <!--начало кнопки соцсетей-->
        <div class="testimonials w">				
        <div class="h2"><span class="whitetext">Узнай больше!</span></div>
          <div class="socialicons">
          <a href="#" target="_blank"><img src="/images/upload/vk.png" alt="Вконтакте" title="Вконтакте"></a>
          <!--<a href="#" target="_blank"><img src="/images/upload/fb.png" alt="Facebook" title="Facebook"></a>-->
          <!--<a href="#" target="_blank"><img src="/images/upload/twitter.png" alt="Twitter" title="Twitter"></a>-->
          <a href="#" target="_blank"><img src="/images/upload/ok.png" alt="Одноклассники" title="Одноклассники"></a>
          <a href="#" target="_blank"><img src="/images/upload/insta.png" alt="Instagram" title="Instagram"></a>
          <!--<a href="#" target="_blank"><img src="/images/upload/google.png" alt="Google+" title="Google+"></a>-->
          <!--<a href="#" target="_blank"><img src="/images/upload/youtube.png" alt="YouTube" title="YouTube"></a>-->
          </div>
        </div>
      <!--конец кнопки соцсетей-->
            <!-- INCLUDE widget/justbuy.tpl -->
</div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Q
Quiz, 2014-10-29
@Quiz

<style>
  .body > .R {
    display:none;
  }
</style>

anywhere on this page

A
Alexander Sydorenko, 2014-10-29
@San40

I think it's best to create a separate template for the grandbetting.ru/statistic page, in which these blocks will not be. Unfortunately, I don’t know on which CMS this was done, so it’s hard to say exactly how it should be done better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question