- Posts: 6
COMMUNITY FORUM
[SOLVED] Remove back to top
- Alan Morris
-
Topic Author
- Offline
- New Member
Less
More
11 years 1 month ago - 10 years 8 months ago #126921
by Alan Morris
[SOLVED] Remove back to top was created by Alan Morris
:( I have not been able to find out where the 'back to top' link is in my 'items'. I want to turn it off as I'm using one in the template which I prefer. Can anyone tell me where to turn it off in K2.
You can see what I mean here
I want to remove the 'back to top one that appears in the article and leave the one from the template that just says 'top'
You can see what I mean here
I want to remove the 'back to top one that appears in the article and leave the one from the template that just says 'top'
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126922
by Lefteris
Replied by Lefteris on topic Re: Remove back to top
Hi. You need to make a template override for item.php in order to remove the back to top link that K2 provides.
Please Log in or Create an account to join the conversation.
- omni kneeland
-
- Offline
- New Member
Less
More
- Posts: 4
10 years 4 months ago #135443
by omni kneeland
Replied by omni kneeland on topic [SOLVED] Remove back to top
in addition to template override, can do a css override with;
.itemBackToTop { display:none }
.itemBackToTop { display:none }
Please Log in or Create an account to join the conversation.
- Burak Baytu
-
- Offline
- New Member
Less
More
- Posts: 1
10 years 4 months ago #135571
by Burak Baytu
Replied by Burak Baytu on topic Re: Remove back to top
I need help with about the same problem.
Can you please advise on below;
- where (relative to my installation folder) do I need to save the custom css file
- what should be the file name?
- is there anything else other than this 1 line code .itemBackToTop { display:none } that I will need to turn this off?
Thank you.
Can you please advise on below;
- where (relative to my installation folder) do I need to save the custom css file
- what should be the file name?
- is there anything else other than this 1 line code .itemBackToTop { display:none } that I will need to turn this off?
Thank you.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 4 months ago #135584
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Remove back to top
The location of the css file is dependant of your template, so you need to look at the templates/template/yourtemplate/css folder. Paste that snippet there and the back to top will be hidden.
Please Log in or Create an account to join the conversation.
- Ilkka Rytkönen
-
- Offline
- New Member
Less
More
- Posts: 3
8 years 11 months ago #154652
by Ilkka Rytkönen
Thanks, this worked fine!
Replied by Ilkka Rytkönen on topic [SOLVED] Remove back to top
omni kneeland wrote: in addition to template override, can do a css override with;
.itemBackToTop { display:none }
Thanks, this worked fine!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 11 months ago #154672
by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] Remove back to top
You 're welcome Ilkka.
Please Log in or Create an account to join the conversation.