NextGEN Gallery Sidebar Widget
NextGen Widget not working well with BologoLife (1 post)

  1. mohsinaziz
    Posted 4 years ago #

    I am using NextGen Gallery with Bologolife Pro template (Bologolife has the same issue).

    The issue was that when you add the widget to sidebar its title would be indented inwards and properly formatted.

    I was able to figure out that problem occurs only when you have the option of "I.E Webslice" turned on. So the very simple solution is to turn that off.

    If you want to fix the code, go to widgets.php in the "wp-content/plugins/nextgen-gallery" and edit the following code block around line 300.

    if ( $webslice ) {
    			$before_widget .= "\n" . '<div class="hslice" id="ngg-webslice" >' . "\n";
                //the headline needs to have the class enty-title
              $before_title  = str_replace( 'class="' , 'class="entry-title ', $before_title);
    			$after_widget  =  '</div>'."\n" . $after_widget;

    You need to comment out the line after comments. It is adding this very "entry-title" class which is causing the problem.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery Sidebar Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic