Firstly thanks for the plugin. Excellent plugin.
I have installed one on the main content which works fab but
Having some issues with the sidebar widget.
When I place the magic action box widget on the top of my sidebar, all my other widgets gets pushed down. If i place the magic box widgets below my other widgets, then the sidebar works fine.
You can see a demo of how all the other widgets are pushed down here:
I am not sure where the problem lies.
Hi, can you send the contents of the Opt In Form Code field and the Processed Opt In Form Code fields?
Running the page through w3c validator shows a stray
Hi i had used AWeber Authorization Code. AzLAFLgbGXnx6CD2tR3jX7DZ|5o9ObJFif4uLeAcNj1iBmAtWFnw16G0UMkiXDXRM|AqHG76M7ubKhLUJOxd0ZTlxB|cibQf2Sx9uQoSTQMmirnMD9FrdMjWUbgndgsXp31|qcrp9v|
sorry i hope the above what was you had requested above. If not, please advise where do i can find these access code fields?
I took a look at the theme’s template file and found this file inside the theme
functions/widgetize-theme.phpwhich is responsible for outputting the widget html:
$before_widget = '<div id="%1$s" class="widget %2$s">'; $after_widget = '</div></div><!-- .widget /-->'; $before_title = '<div class="widget-top"><h4>'; $after_title = '</h4><div class="stripe-line"></div></div> <div class="widget-container">';
It may not look much but there’s one major caveat to the code above. It fails if the widget doesn’t have a title. since you are not using the widget title, the output of the widget will now look like this:
$before_widget = '<div id="%1$s" class="widget %2$s">'; $after_widget = '</div></div><!-- .widget /-->';
$after_widgetvariable, you’ll see the two
</div></div>tags whereas the
$before_widgetonly has one. that’s where the stray tag is coming from.
My only solution for you would be to add a title to the MAB widget. Or talk it out with the theme author and point him here http://wordpress.stackexchange.com/questions/74732/adding-a-div-to-wrap-widget-content-after-the-widget-title?rq=1
- The topic ‘widgets on sidebar gets pushed down when’ is closed to new replies.