test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Sylwester Kowalski Friend
    #184976

    I am trying to move the back to top button to the top of ja-botsl1 can someone help me to locate the php file where I can paste the back to top code? I appreciate any help.

    Stork11 Friend
    #483532

    Hello sly123,

    You should add 1 more block above “botsl1” block of “Default” layout in Template Manager of JA Zite. Then add a position to this block. After that, create a new module with “Custom HTML” module type and assign it to that position.

    Then copy below code (located in “/templates/ja_zite/blocks/footer.php” file, about line 28) and paste as content of above module.

    <ul class=”ja-links”>
    <li class=”top”><a id=”ja-backtotop” href=”javascript:scroll(0,0)” title=”Back to top”>Top</a></li>
    </ul>

    Clean site cache then refresh front-end to see the result.

    Regards.

    wew67 Friend
    #488224

    How about if I want to remove the button? Is there a simple way to do it?

    Thank you

    Ninja Lead Moderator
    #488395

    You can remove the button on this way

    Open templates/ja_zite/css/template.css file
    From


    #ja-footer ul.ja-links li a {
    background: url(../images/back-to-top.png) no-repeat left top;
    display: block;
    height: 80px;
    text-indent: -999em;
    }

    change to


    #ja-footer ul.ja-links li a {
    background: url(../images/back-to-top.png) no-repeat left top;
    display: none;
    height: 80px;
    text-indent: -999em;
    }

    Remember to cache cache from Admin area

    wew67 Friend
    #488707

    Thanks its work…

    Cheers 😀

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

This topic contains 5 replies, has 4 voices, and was last updated by  wew67 11 years, 8 months ago.

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