Okay
  Public Ticket #2417379
Admin UI is Broken
Closed

Comments

  • John Kesler started the conversation

    I can still use the product but it's very annoying to the point I don't want to. The admin section's UI is compacted but not in a mobile CSS sort of way. It looks like the wrapper is shrunk or something. I turned off both toggles for BootStrap but that had not effect. I'm happy to give you access if you need. The site has the following: 

    Server: LEMP

    Yes php.ini is set correctly

    Theme is Porto

    Plugins are: 

    Akismet Anti-Spam

    Defender Pro

    Gravity Forms

    Porto Theme - Functionality

    Slider Revolution

    Slider Revolution Coming Soon & Maintenance Add-on

    WooCommerce

    WooCommerce Services

    WPBakery Page Builder

    wpDataTables

    WPMU DEV Dashboard


    After looking at it breifly it looks as if these class : .card or. wdt-browse-table or the ::before located on the <div> row before that class is the culprit. Do you happen to have a working admin css or have you fixed this problem before?

  • ahmed replied

    [عدل]I have the same problem, what is the solution?

    http://prntscr.com/snjon8

    http://prntscr.com/snjpxg

    http://prntscr.com/snjs5d


  •  2,507
    Aleksandar replied

    Hello John, hello Ahmed.

    We've had issues like this with the Porto theme.

    This should help you resolve it:

    First, open this file:

    /var/www/html/wp-content/plugins/wpdatatables/assets/css/bootstrap/wpdatatables-bootstrap.min.css

    There, You need to search for this:

    .wpdt-c .row{margin-left:-15px;margin-right:-15px;}

    and add display: block; so it looks like this:

    .wpdt-c .row{margin-left:-15px;margin-right:-15px;display: block;}
    

    Please note that this is a .min file and it has to stay in that one line. It doesn't look as nice, but that's just how it needs to be.

    Save that file, and close it.

    Second, open this file:

    /var/www/html/wp-content/plugins/wpdatatables/assets/css/admin/admin.css
    

    There, go to line 209 and find this line of code:

    .wpdt-c .wdt-datatables-admin-wrap .card {
        max-width: 100%;
        padding: 0;
        margin-top: 0;
        border: 1px solid #d7d7d7;
    }

    and add display: block; so it looks like this:

    .wpdt-c .wdt-datatables-admin-wrap .card {
        max-width: 100%;
        padding: 0;
        margin-top: 0;
        border: 1px solid #d7d7d7;
        display: block;
    }

    Save this file, and that is it.

    Please make sure to clear the cache and perform a hard reload of the page for the changes to take effect, but that is it.

    If this resolves the issue, and we confirm it is a conflict with the theme, you'll need to save my reply for when you update wpDataTables in the future. Basically, you'll need to make the same changes when you update the plugin, because the files will get overwritten when the update occurs.

    Please let me know if this helps.


    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables