test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • osorgho Friend
    #192407

    I want to hide this tool :

    Someone to help me?
    Thanks


    1. JA-Magz-Demo-2013-11-20-08-24-14
    Ninja Lead Moderator
    #513030

    This way will help you to do that

    Open templates/ja_magz/css/template.css file

    From


    .tpl-layout-switch {
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 2;
    }

    Change to


    .tpl-layout-switch {
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 2;
    display: none;
    }

    TomC Moderator
    #513031

    Within file path —> /t3-assets/dev/templates.ja_magz.less.style.less.css

    Look to line 323, you will see the following:


    .tpl-layout-switch li {
    border: 1px solid #EAEAEA
    float: left;
    height: 30px;
    list-style: none outside none;
    text-align: center;
    width: 30px;
    }

    create a custom.css file and enter the following CSS rule:


    .tpl-layout-switch li {
    display: none;
    }

    To be safe, make a back-up of your site CSS – in case you ever want to re-display that element.

    Hope That Helps.

    osorgho Friend
    #513302

    <em>@TomC 398927 wrote:</em><blockquote>Within file path —> /t3-assets/dev/templates.ja_magz.less.style.less.css

    Look to line 323, you will see the following:


    .tpl-layout-switch li {
    border: 1px solid #EAEAEA
    float: left;
    height: 30px;
    list-style: none outside none;
    text-align: center;
    width: 30px;
    }

    create a custom.css file and enter the following CSS rule:


    .tpl-layout-switch li {
    display: none;
    }

    To be safe, make a back-up of your site CSS – in case you ever want to re-display that element.

    Hope That Helps.</blockquote>

    Hi,
    Great thanks for your help

    dpchap015 Friend
    #513350

    this is not the proper way to hide it . every time the page will load the script of switch layout.
    its better to comment the php code .

    /templates/ja_magz/html/com_content/featured/default.php

    commnet or remove these lines (line 33-36)
    [PHP]<!– <ul class=”tpl-layout-switch”>
    <li class=”to-list”><i class=”icon-th-list”></i></li>
    <li class=”to-grid active”><i class=”icon-th-large”></i></li>
    </ul> –>[/PHP]

    no need to change css or less 😀

    😀

    osorgho Friend
    #516672

    Hi dpchap015,
    Thanks for your help.

    <em>@dpchap015 399333 wrote:</em><blockquote>this is not the proper way to hide it . every time the page will load the script of switch layout.
    its better to comment the php code .

    /templates/ja_magz/html/com_content/featured/default.php

    commnet or remove these lines (line 33-36)
    [PHP]<!– <ul class=”tpl-layout-switch”>
    <li class=”to-list”><i class=”icon-th-list”></i></li>
    <li class=”to-grid active”><i class=”icon-th-large”></i></li>
    </ul> –>[/PHP]

    no need to change css or less 😀

    :D</blockquote>

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  osorgho 10 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum