hunterangell
Forum Replies Created
-
Forum: Plugins
In reply to: [Facebook Comments Notifier] Changing color of comment's textGotcha, yeah I just update the original and don’t have any plans of updating if said author does. I couldn’t get it to work so I’m using a different app now. Works though. http://hunterangell.com/a-ton-awesome-things-online-now-death-battle/ Dark Theme and all.
Forum: Plugins
In reply to: [Facebook Comments Notifier] Changing color of comment's text*Correction I did find it, just where to add that line….?
// comment form
var html = ”;
if ( ! $(‘#fb-root’)[0] ) {
html += ‘<div id=”fb-root”></div>’;
}
html += ‘<fb:comments id=”fbcomments” class=”fbcomments” notify=”true” href=”‘ + fcn_htmlencode(url) + ‘” migrated=”1″‘;// size control, clone/override
var width = 550;
if ( fcn_global_data.width ) {
width = fcn_global_data.width;
} else {
width = $(‘#commentform’).width();// handle resize event
jQuery(window).resize(function() {
if ( $(‘.fb_ltr’)[0] ) {
var width = $(‘#commentform’).width();
$(‘.fb_ltr’).width( width );
}
});
}
html += ‘width=”‘ + fcn_htmlencode(width) + ‘”‘;html += ‘></fb:comments>’ ;
$(‘#commentform’).html(html);
$(‘#commentform’).show();Forum: Plugins
In reply to: [Facebook Comments Notifier] Changing color of comment's text@w.P. Ginfo That didn’t work. I even tried adding the data-colorscheme=”dark” in various logical places in the js file but to no avail and I don’t know js good enough to make more than a best guess as to where the option would go. The official page on FB: https://developers.facebook.com/docs/reference/plugins/comments/ gives you this code “
<div class=”fb-comments” data-href=”http://example.com” data-width=”470″ data-num-posts=”10″ data-colorscheme=”dark”></div>
“
But it appears the plugin doesn’t have a div class of fb-comments anywhere.
Still thinking the best way would be to change the comment’s text but I’m not sure what will do that in this case.