Sidebar widget continer fix and some improve suggestions
-
Dear Danny,
I think your theme is super!
I have run some Audit on my site [ redundant link removed ] and I noticed an error according to Google LightHouse
My suggestion:
function.php under Register left and right Sidebar section:
register_sidebar( array( 'name' => __('Right Sidebar', 'devdmbootstrap4'), 'id' => 'dmbs-right-sidebar', 'description' => __('Widgets in this area will be shown on all posts and pages.', 'devdmbootstrap4'), 'before_widget' => '<li id="%1$s" class="widget dmbs-widget dmbs-widget-right %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widgettitle dmbs-widget-title dmbs-widget-right-title">', 'after_title' => '</h3>', ));
change to:
register_sidebar( array( 'name' => __('Right Sidebar', 'devdmbootstrap4'), 'id' => 'dmbs-right-sidebar', 'description' => __('Widgets in this area will be shown on all posts and pages.', 'devdmbootstrap4'), 'before_widget' => '<ul><li id="%1$s" class="widget dmbs-widget dmbs-widget-right %2$s">', 'after_widget' => '</li></ul>', 'before_title' => '<h3 class="widgettitle dmbs-widget-title dmbs-widget-right-title">', 'after_title' => '</h3>', ));
Additionally, Google LightHouse says “Minifying JavaScript files can reduce payload sizes and script parse time”:
/devdmbootstrap4/assets/js/bootstrap4x/bootstrap.jsI have done a reducing and the original file changed 154KB to 64KB.
Best regards,
MihályPS.: If you can fix it, it will be awesome!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sidebar widget continer fix and some improve suggestions’ is closed to new replies.