• 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.js

    I have done a reducing and the original file changed 154KB to 64KB.

    Best regards,
    Mihály

    PS.: If you can fix it, it will be awesome!

    • This topic was modified 5 years, 4 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Theme Author DevDm

    (@devdm)

    I’ve got you Jan. I’ll look into it.

    Do you think you can email me danny[at]devdm.com to let me know what you used to minify the javascript?

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar widget continer fix and some improve suggestions’ is closed to new replies.