• This is definitely the best search and replace plugin out there, but for me it is much more than just that, as I often find myself “hacking” the database with it. However, I would like to make a small suggestion and share my quick-fix.

    A Quick CSS Fix for the “Search Regex” Plugin

    It bothers me that the highlighted text match has extra padding. In fact, I typically have situations where it’s crucial to see whether there’s a space character or not, and the padding confuses me, a lot! I suggest removing that padding, and while we’re at it, I made my small correction in the CSS styles that I believe are better than the default.

    .searchregex-result__deleted,
    .searchregex-result__highlight,
    .searchregex-result__replaced {
        font-weight: unset;
        padding: 0;
        background-color: #f2f75d80;
        outline: 10px solid #f2f75d80;
    }

    Feel free to add this CSS to your admin panel, and there are many plugins that can help you with this. If you have no idea which plugin to use, use Add Admin CSS for example.

The topic ‘A Little Quick Fix in CSS’ is closed to new replies.