• Resolved gmesmer

    (@gmesmer)


    The column in pages and posts for “password protection” is too wide which causes much extra space to be required when the column is enabled (as it is by default). This causes wrapping issues on smaller screen sizes.

    • This topic was modified 3 months, 3 weeks ago by gmesmer.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author BWPS Team

    (@buildwps)

    Hi @gmesmer ,

    Thank you for reaching out to us.

    Could you provide a screenshot/screencast of the issue you’re facing for us to take a look please?

    Awaiting your reply.

    Thread Starter gmesmer

    (@gmesmer)

    The space reserved for Password Protection is significantly larger than all other categories (eg: see stats and SEO score). Additionally, it would be much better to simply have an icon (instead of “Password Protection”) with a colored lock/unlock instead of writing out “unlocked” to further save space.

    Plugin Author BWPS Team

    (@buildwps)

    Hi @gmesmer ,

    Thank you for the information.

    Could you help to:

    1. Go to Appearance > Theme Editor.
    2. Select the functions.php file of your active theme.
    3. Add the following PHP code to enqueue custom CSS for the admin area:
    function custom_admin_css() {
    echo '<style>
    .wp-admin .column-ppw_password_protection {
    width: 200px; /* Adjust the width as needed */
    }
    </style>';
    }
    add_action('admin_head', 'custom_admin_css');

    Save the change and check if it works please?

    Awaiting your reply.

    Thread Starter gmesmer

    (@gmesmer)

    Yes doing that (I set to 8em) does allow for it to be customized to fix better.

    I would still be beneficial to allow for configuration to disable the text to only show the lock/unlock icon and have the column name be a similar width to the lock/unlock icon with a tooltip showing “Password Protection”

    The first part would be editing:

                        function(e, o, n) {
    t(o).removeClass("ppw_protected_color"),
    t(o).addClass("ppw_unprotected_color"),
    t(o).html('<i class="dashicons dashicons-unlock"></i> unprotected')
    }(0, r)) : (e.text(a.label),
    function(e, o, n) {
    t(o).removeClass("ppw_unprotected_color"),
    t(o).addClass("ppw_protected_color"),
    t(o).html('<i class="dashicons dashicons-lock"></i> protected')
    }(0, r))

    Not sure about the second part but other plugins do it.

    Plugin Author BWPS Team

    (@buildwps)

    Hi @gmesmer ,

    Thank you for the feedback.

    I have noted this and shared it with our dev team, and they will consider adding it to the next plugin version.

    Should you need any further support, please feel free to contact us.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.