Support » Plugins » [Plugin: Dashboard Pages] Changing the default height panel

  • Resolved saharusa


    Nice plugin! Thanks,

    One suggestion, Dashboard Pages out of the box comes with table of 600px height, which is not a problem for me… but when you don’t have enough pages yet you end up with high empty table. here’s what i did:

    pages-dashboard.php – find this element:

    <div class="page-scroller">

    replace with:

    `<div class="page-scroller">
    <table class="page widefat" cellspacing="0">
    <?php print_column_headers('edit-pages'); ?>
    <div class="ps-wrapper">
    <table class="page widefat" cellspacing="0">
    <?php page_rows($posts, $pagenum, $per_page); ?>
    <div class="ps-footer">
    <table class="page widefat" cellspacing="0">
    <?php print_column_headers('edit-pages', false); ?>

    pages-dashboard.css – replace all content with:

    Dashboard Pages Styling 
    .page-scroller { max-height: 600px; overflow-x: hidden; overflow-y: auto; margin-top:-3px; }
    .page-scroller td { padding:3px; }
    .page-scroller { margin-top:-3px; }
    .page-scroller td.column-date { padding-right: 20px; }

    Now only when number of pages won’t fit in 600px height you’ll get the scroller

  • The topic ‘[Plugin: Dashboard Pages] Changing the default height panel’ is closed to new replies.