Okay
  Public Ticket #3148368
Increasing size of response expander and giving it a background color
Closed

Comments

  • Mark Sayegh started the conversation
    I have been trying for the last couple of days to make the response expander a little bit bigger and I also wanted to change the background of the circle or square with edges that surrounds it.   In your example use any color, I will be able to change the hex of it.

    I just want to make it a bit bigger and give it a background color, please help.
    Other table plugins even have the + sign changing colors when you click on it, I really hope you offer this feature.

    The + icon appears when you have columns that are hidden on mobile and you click it and it displays them on mobile devices.
    Also please let me know in what section of CSS to add it since you guys have CSS for the table and CSS for the global settings . 

  •  1,850
    Miloš replied

    Hi, Mark

    I can't seem to get any rows to appear from my end when I visit the related page - no matter what I choose in the filters,

    so I can't work directly on your page to try and find some CSS for you :

    9295771941.png

    But I have an example that we generally made for the little  + expander button :

    You can use this CSS on the page:

    table.has-columns-hidden>tbody>tr>td>span.responsiveExpander, table.has-columns-hidden>tbody>tr.detail-show>td span.responsiveExpander {
    padding: 10px !important;
    }
    

    And it will increase the size of that button.

    -

    For background color, try this :

    table.has-columns-hidden > tbody > tr > td > span.responsiveExpander{
        background-color : green !important;
    }
    

    This is how my table looks with the CSS :

    7204989959.png

    You can add this to the table custom CSS, in Customize tab, of the table settings, and it should work.smile.png

    Let me know if that works for you.

    If not, please let me know how I can get some rows to appear on your table, so that I can work directly on the page to try out some CSS?

    Thank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    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