disable social icons only on one article

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat May 11, 2013 2:39 pm
Reply with quote
Report this post
I need to disable social icons in only one article...How can I do it?
User avatar
Expert Boarder

GK User
Sat May 11, 2013 3:39 pm
Reply with quote
Report this post
Hi,
this should be easy only if this article was added as a menu item.

1) Add extra class (nosocial) for this menu item (in Menu Manager)
2) Add this code css

Code: Select all
.nosocial #gkSocialAPI { display:none; }

- in template configuration/settings [CUSTOM CSS CODE]
User avatar
Platinum Boarder

GK User
Mon May 13, 2013 9:40 pm
Reply with quote
Report this post
Thanks!!
Was difficult, because it didn't work in an article with a module position (like {loadposition...etc}). It works only in an item menu with a simple article, i don't know why!
User avatar
Expert Boarder

GK User
Sat Jun 29, 2013 10:25 am
Reply with quote
Report this post
It only works if you have a suffix for the page, also in order to have suffixes for a page you have to create a menu item for it, that's why.
User avatar
Platinum Boarder


cron