Disable Icons on Team Overlays

Creative, responsive and unique Joomla template to create personal portfolio website with amazing animations and clean design.
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
Thu Jun 26, 2014 3:28 pm
Reply with quote
Report this post
How can i disable the Icons on the Overlay in the "Team" Section on Main Page.

On a Mouseover i see those Facebook, twitter and google+ icons.

OR: How can i disable the complete Overlay (colored area AND Icons)

Thanks for your help!
User avatar
Expert Boarder

GK User
Sat Jun 28, 2014 11:07 am
Reply with quote
Report this post
Hello,

Please just remove all following attributes from the team elements:

* data-fb
* data-twitter
* data-gplus
User avatar
Administrator

GK User
Sat Jun 28, 2014 1:21 pm
Reply with quote
Report this post
In which file can i find the "team elements"?
User avatar
Expert Boarder

GK User
Sat Jun 28, 2014 1:23 pm
Reply with quote
Report this post
It is a content of a custom HTML module
User avatar
Administrator

GK User
Sat Jun 28, 2014 1:32 pm
Reply with quote
Report this post
sorry :-(

Could you please take me by the hand... i don't no what to do...
User avatar
Expert Boarder

GK User
Sat Jun 28, 2014 2:20 pm
Reply with quote
Report this post
You have to open the module manager, open module with title "My[icon-star][br]loyal[br]team", switch the editor to the HTML view and remove all mentioned attributes from the code.
User avatar
Administrator

GK User
Thu Jul 03, 2014 10:57 am
Reply with quote
Report this post
When i open the module and have a look at the Source Code (Editor TinyMCE) i just see the following entries:

data-fb="#"
data-twitter="#"
data-gplus="#"

But those are just the Links not the graphics...
User avatar
Expert Boarder

GK User
Thu Jul 03, 2014 12:13 pm
Reply with quote
Report this post
The graphics are created by script based on these data attributes.
User avatar
Administrator

GK User
Thu Jul 03, 2014 12:29 pm
Reply with quote
Report this post
in which file are the icons created?

Because... if i delete the data attributes in the module, the graphics still appear...
User avatar
Expert Boarder

GK User
Thu Jul 03, 2014 12:39 pm
Reply with quote
Report this post
Please provide me your website URL after these changes.
User avatar
Administrator

GK User
Thu Dec 18, 2014 5:41 pm
Reply with quote
Report this post
hello I have the question ?!

I have deleted :
data-fb="#"
data-twitter="#"
data-gplus="#"
in "My[icon-star][br]loyal[br]team"
but the overlay still there with the twitter logo in the middle ?!

is it possible to disable the overlay, and how ? thx for your help :)
User avatar
Fresh Boarder

GK User
Fri Dec 19, 2014 1:41 am
Reply with quote
Report this post
Hello,

Could you provide an URL to your website?
User avatar
Administrator

GK User
Fri Dec 19, 2014 10:03 am
Reply with quote
Report this post
sent by MP .... (localhost)
User avatar
Fresh Boarder

GK User
Sat Dec 20, 2014 1:20 pm
Reply with quote
Report this post
Please change in gk.scripts.js file the following fragment:

Code: Select all
if(figure.attr('data-twitter') !== null) {
              htmloutput += '<a href="'+figure.attr('data-twitter')+'" data-type="twitter"></a>';
               classcounter++;
            }


to:

Code: Select all
if(figure.attr('data-twitter') != null) {
              htmloutput += '<a href="'+figure.attr('data-twitter')+'" data-type="twitter"></a>';
               classcounter++;
            }


And please also change:

Code: Select all
overlay.html(htmloutput);
            overlay.addClass('gkIcons' + classcounter);

            figure.find('img').after(overlay);

            figure.bind({
               'touchend': function() {
                  if(!figure.hasClass('hover')) {
                     figure.trigger('mouseenter');
                  } else {
                     figure.trigger('mouseleave');
                  }
               },
               'mouseenter': function() {
                  figure.addClass('hover');
                  var linksAmount = figure.find('.gkTeamOverlay a').length;
                  for(i = 0; i < linksAmount; i++) {
                     gkAddClass(figure.find('.gkTeamOverlay').find('a').eq(i), 'active', i);   
                  }
               },
               'mouseleave': function() {
                  figure.removeClass('hover');
                  figure.find('.gkTeamOverlay a').removeClass('active');
               }
            });


to:

Code: Select all
if(classcounter > 0) {
overlay.html(htmloutput);
            overlay.addClass('gkIcons' + classcounter);

            figure.find('img').after(overlay);

            figure.bind({
               'touchend': function() {
                  if(!figure.hasClass('hover')) {
                     figure.trigger('mouseenter');
                  } else {
                     figure.trigger('mouseleave');
                  }
               },
               'mouseenter': function() {
                  figure.addClass('hover');
                  var linksAmount = figure.find('.gkTeamOverlay a').length;
                  for(i = 0; i < linksAmount; i++) {
                     gkAddClass(figure.find('.gkTeamOverlay').find('a').eq(i), 'active', i);   
                  }
               },
               'mouseleave': function() {
                  figure.removeClass('hover');
                  figure.find('.gkTeamOverlay a').removeClass('active');
               }
            });
}
User avatar
Administrator


cron