- Posts: 10
COMMUNITY FORUM
where can i remove the "back to top" button?
- At Apama
-
Topic Author
- Offline
- New Member
Firstly i installed K2 version 2.4.1 and then i decided to remove and use it in my second website. Everything was cool at the beginning, I removed K2 from the control panel, then checked my database to see if something went wrong but it was all perfect, not a single K2 related file or code had left in my database. But... when i had reloaded my site's index I saw that cockroach-like neverdying "back to top" button fading in when i scroll down the page. Like I said, each K2 related file got deleted but the backtotop dude is still here. It is clear that its hiding somewhere there in html codes but I cannot find it and need your kind help. I need it got removed! Help me, puh-leez!
P.S: www.yarinlar.net is my website and I'm using Joomla 1.5
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
and i can not find ANY code including "toTop" nor in the CSS or the HTML codes.
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
At Apama said:
I tried it by the first time but it gives me the line:<div id="toTop" style="display: none;">^ Back to Top</div>
and i can not find ANY code including "toTop" nor in the CSS or the HTML codes.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
- Posts: 955
<div class="itemBackToTop"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>"><?php echo JText::_("back to top"); ?></a> </div> <div class="clr"></div>
Remove that code.
Take note, if you do this in the component template, then update-install K2, you will loose the changes.
Consider using a K2 template over ride, check out my guides on simon.getk2.org
Simon
K2joom
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Simon Wells (K2 Support) said:
In the item.php, right at the very end
<div class="itemBackToTop"> <a class="k2Anchor" href="<?php echo $this->item->link; ?>#startOfPageId<?php echo JRequest::getInt('id'); ?>"><?php echo JText::_("back to top"); ?></a> </div> <div class="clr"></div>
Remove that code.
Take note, if you do this in the component template, then update-install K2, you will loose the changes.
Consider using a K2 template over ride, check out my guides on simon.getk2.org
Simon
K2joom
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
Please Log in or Create an account to join the conversation.
- At Apama
-
Topic Author
- Offline
- New Member
- Posts: 10
Please Log in or Create an account to join the conversation.
- Harshala Fashions
-
- Offline
- New Member
- Posts: 2
/* Added the following code to hide 'Back to Top' */
div.itemBackToTop {
display:none;
}
Please Log in or Create an account to join the conversation.