0

Is it possible to force the WP dashboard to show 3 columns at all times?

1 Answer 1

1

Yes it is. Paste this code in your theme's functions.php file.

// Change dashboard widget width
function change_dashboard_column_width() {
?>
<style>
@media only screen and (min-width: 500px) {
    #dashboard-widgets .postbox-container {
        width:33.3% !important;
    }
}
</style>
<?php
}
add_action('admin_head','change_dashboard_column_width');

To force 2 columns, change the width to 50%. For 4 columns, change it to 25%.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.