Center, Sort and Highlight issue
-
Hi Tobias,
First, thanks for this plugin; it’s super handy!
But as I’m a newbie with CSS and such, I’m facing a few issues…1: Centering the table, you’ll see that the first table is not centred on the page.
I’ve tried with.tablepress-id-1 {
width: auto;
margin: 0 auto 1em;
}and
.tablepress-id-1 {
width: auto;
margin: 0 auto 1em !important;
}I also tried with
`.tablepress.your-class {
margin-left: auto;
margin-right: auto;Without success. It keeps aligning to the left. I also tried to set the table at 100% (I can’t find the code anymore) with the same lack of success. Oh, and I’m not sure if you’ll ask me to change the template’s width, but if there’s another way, I’ll rather not do that; I’m not the one who designs the site, so that might be complicated.
2. When I hover over the header, the colour changes, and that’s perfect, but when I click to sort the column, the header keeps the hover’s colour. Is there a way to change that? I’ll rather keep the default colour.
3. Automatically, all columns can be sorted. Is there a way to allow solely certain columns to be sorted?
I really looked around to see if I could find a way without bothering you, but I didn’t. Sorry if you already resolved these somewhere else!
Thanks a lot!
Antoine
The page I need help with: [log in to see the link]
The topic ‘Center, Sort and Highlight issue’ is closed to new replies.