Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82388

Styling issues

$
0
0

I think many of us uses DT in wordpress.
However, when creating tables in wordpress backend dashboard, the WordPress default styles overrides DataTable's default styles, and tables design are distracted. However, this is because the DataTables does not use strong element selectors in styling/targets:

https://i.imgur.com/rjyqpz3.png

the default WordPress styles that overrides it, is:

.wp-core-ui select {
    font-size: 14px;
    line-height: 2;
    color: #2c3338;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 3px;
    padding: 0 24px 0 8px;
    min-height: 30px;
    max-width: 25rem;
    -webkit-appearance: none;
    background: ...;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
}

So, you will need to make a bit more better selectors to stand up it.


Viewing all articles
Browse latest Browse all 82388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>