Support » Plugin: Yada Wiki » Sidebar too high

  • The theme for my site (literary-test.theschaubs.com) has a side-bar widget menu. The Yada plug-in seems to be causing the height of its menus to be too high (85 vs. 21 px). I found and updated the following twice in your functions-widgets.php file:

    if ( $title ) {
    echo ‘<div class=”widget-title”>’;
    // GLS – Removed the next line and added the one after
    //echo $before_title.$title.$after_title;
    echo $title;
    echo ‘</div>’;
    }

    Please verify that my update is correct and let me know if you plan to incorporate it into your future releases so that I know how to handle future release management.

    Regards,
    Greg Schaub

    • This topic was modified 1 year, 4 months ago by glschaub.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dmccan

    (@dmccan)

    Thanks for the info. I’ll take a look before I push a new update.

    Plugin Author dmccan

    (@dmccan)

    Hi Greg,

    I checked the site. What I found is that the theme style sheet has this code:

    
    
    *,
    *:before,
    *:after {
    	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    	-webkit-box-sizing: inherit;
    	-moz-box-sizing: inherit;
    	box-sizing: inherit;
    }
    

    Yada Wiki isn’t adding any spacing styles to the widgets in the sidebar. What I think is happening is that when you removed the $before_title and $after_title variables you are overriding the style that the theme is applying.

    Another way to solve this might be to add some CSS into the Customizer that targets the place where the problem is. Does the ‘literary-test’ site already have your change applied? When you say sidebar menu, are you referring to the entire sidebar on the ‘literary-test’? In other words, do you want the sidebar pushed down some? Or are you referring to just the first item that has a title of ‘global’? Is it the heading with the grey background that is too big? Sorry I’m not sure the exact issue.

    If it doesn’t mess anything up, perhaps you could remove your change (if it is active), let me know what you want as the result, and I can suggest some CSS that you can add to the Customizer.

    Regards,

    David

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar too high’ is closed to new replies.