By Thierry FRETEAUD on Thursday, 17 March 2016
Posted in Technical Issues
Replies 3
Likes 0
Views 534
Votes 0
Hi everyone !

I have a problem, I purchased and configured EasyDiscuss on my test site, but no question appears (see link : http://marcantoinebordet.fr/intragcl/index.php?option=com_easydiscuss&view=index&Itemid=118) and I feel there is a problem because in the CSS the buttons are displayed wrong.
For information, there is the solution :

Please go to plugins\system\ytshortcodes\assets\js\shortcodes.js find code:
/* Tabs Block */
jQuery(document).ready(function($) {
var tabs = $('ul.nav-tabs');
$(".tab-content .clearfix").each(function() {
if($(this).index() != 0) {
$(this).css({visibility: 'hidden',display:'block' })
}
});
tabs.each(function(i) {
var tab = $(this).find('> li > a');
var litab = $(this).find('li');
var ua = navigator.userAgent,
event = (ua.match(/iPad/i)) ? "touchstart" : "click";
tab.bind(event, function(e) {
var contentLocation = $(this).attr('href');
if(contentLocation.charAt(0)=="#") {
e.preventDefault();
tab.removeClass('active');
litab.removeClass('active');
$(this).addClass('active');
$(contentLocation).css({ visibility: 'visible'}).addClass('active').siblings().css({ visibility: 'hidden'}).removeClass('active');
}
});
litab.bind(event, function(e) {
litab.removeClass('active');
$(this).addClass('active');
});
});
});
=> edit to:
/* Tabs Block */
jQuery(document).ready(function($) {
var tabs = $('ul.nav-tabs');
tabs.each(function(i) {
var tab = $(this).find('> li > a');
var litab = $(this).find('li');
var ua = navigator.userAgent,
event = (ua.match(/iPad/i)) ? "touchstart" : "click";
tab.bind(event, function(e) {
var contentLocation = $(this).attr('href');
if(contentLocation.charAt(0)=="#") {
e.preventDefault();
tab.removeClass('active');
litab.removeClass('active');
$(this).addClass('active');
$(contentLocation).css({ visibility: 'visible'}).addClass('active').siblings().css({ visibility: 'hidden'}).removeClass('active');
}
});
litab.bind(event, function(e) {
litab.removeClass('active');
$(this).addClass('active');
});
});
});
·
Friday, 18 March 2016 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Thierry,

Seems like the are some css conflict with your current template. When I switch to protostar, everything is displaying correctly. Perhaps you need to check this issue with your template provider instead as they know best with their own component.
·
Thursday, 17 March 2016 13:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing this Thierry, glad that your issues are resolved now
·
Friday, 18 March 2016 23:53
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post