- Posts: 2
COMMUNITY FORUM
K2 Quick icons (admin) editing
- aza
-
Topic Author
- Offline
- New Member
Less
More
10 years 10 months ago #130063
by aza
K2 Quick icons (admin) editing was created by aza
I am interested how to remove some icons from K2 Quick icons (admin) ?
Can anyone explain me?
Can anyone explain me?
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
10 years 10 months ago - 10 years 9 months ago #130064
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 Quick icons (admin) editing
Hi,
i've deleted the parts in the php-file, i don't wanna use.
Regards
i've deleted the parts in the php-file, i don't wanna use.
Regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #130065
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Quick icons (admin) editing
You can do this with some css as well.
Although you will need to reapply the patch when you update K2.
In /administrator/modules/mod_k2_quickicons/tmpl/css/style.css
You can use the :nth-child(x) value to hide an icon.
eg:
Although overriding the module and removing the links as Franz suggested is a preferable solution.
Although you will need to reapply the patch when you update K2.
In /administrator/modules/mod_k2_quickicons/tmpl/css/style.css
You can use the :nth-child(x) value to hide an icon.
eg:
#k2QuickIcons .icon-wrapper:nth-child(4) { display: none; }
Although overriding the module and removing the links as Franz suggested is a preferable solution.
Please Log in or Create an account to join the conversation.
- Franz Wohlkönig
-
- Offline
- Platinum Member
Less
More
- Posts: 529
10 years 10 months ago #130066
by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 Quick icons (admin) editing
@Krikor
Thank you for your (better) Solution. I'll use ist.
Regards
Thank you for your (better) Solution. I'll use ist.
Regards
Please Log in or Create an account to join the conversation.
- aza
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
10 years 10 months ago #130067
by aza
Replied by aza on topic Re: K2 Quick icons (admin) editing
I do not Understand, I think editing style.css file is useless if not please explain me how can I use this script -- #k2QuickIcons .icon-wrapper:nth-child(4) { display: none; }
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 10 months ago #130068
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: K2 Quick icons (admin) editing
I posted the file you need to edit.
You need to use the snippet as a base and hide the elements you need to hide.
www.w3schools.com/cssref/sel_nth-child.asp
It is also possible to override the administration modules as well.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
This is for the front-end but the same logic applies to the backend templates as well.
You need to use the snippet as a base and hide the elements you need to hide.
www.w3schools.com/cssref/sel_nth-child.asp
It is also possible to override the administration modules as well.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
This is for the front-end but the same logic applies to the backend templates as well.
Please Log in or Create an account to join the conversation.