Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #297360

    Hello is it possible to change the Facebook Widget from the Light to Dark Scheme?

    colorscheme=dark;

    I assume I need to change from light to dark with that, but I can’t find the file with the facebook like widget code.

    #297797

    Hey davisar!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .av_facebook_widget_wrap {
    background: white;
    }

    Cheers!
    Yigit

    #297824

    I found it. This works well if your facebook widget has a dark background. It makes the font in the widget white.

    If anyone else wants to implement this, go to enfold/framework/php/class-framework-widgets.php

    Change light to dark in the iframe

    line 64: echo '<iframe class="av_facebook_widget" src="//www.facebook.com/plugins/likebox.php?href='.$url.'&width&height='.$profiles.'&colorscheme=light&show_faces='.$faces.'&header=false&stream=false&show_border=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:'.$height.';" allowTransparency="true"></iframe>';

    change to: echo '<iframe class="av_facebook_widget" src="//www.facebook.com/plugins/likebox.php?href='.$url.'&width&height='.$profiles.'&colorscheme=dark&show_faces='.$faces.'&header=false&stream=false&show_border=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:'.$height.';" allowTransparency="true"></iframe>';

    #297830

    Hey!

    Glad you figured it out and thanks for sharing! :)

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change Facebook Widget from Light to Dark Scheme’ is closed to new replies.