Is there some way to format the modal checkbox window? My options to select to filter are quite long (eg some are 4 words long) and the words do not wrap on mobile. What would work is if the modal options reduced from three columns to 1 so that all words can be viewed.
I found some custom code that you provided to another customer- but it doesn't increase the width of an individual column (which is what I need). I want the box to stay the same size but the content to be shown in one column, not three.
This is the code you provided to another customer:
But now my modal dialog CSS is in the default width, so this text from some of the checkbox labels/options overlaps/goes outside of the "max width" from the container,
so you can combine what we said before with this additional CSS for the Checkbox value Width :
Hi
Is there some way to format the modal checkbox window? My options to select to filter are quite long (eg some are 4 words long) and the words do not wrap on mobile. What would work is if the modal options reduced from three columns to 1 so that all words can be viewed.
I found some custom code that you provided to another customer- but it doesn't increase the width of an individual column (which is what I need). I want the box to stay the same size but the content to be shown in one column, not three.
This is the code you provided to another customer:
}
.modal-dialog {
max-width: 1200px !important;
width: 1200px !important;
}
.modal-content {
max-width: 1200px !important;
width: 1200px !important;
}
Thank you
Hi, Anna.
Apology for the delay.
-
Can you confirm, is this going to be CSS for the Master Details add-on's Pop Up Modal,
or do you need this perhaps for a CheckBox Filter Modal?
The CSS selector will be different if that is the case.
Best will be if you can show me some screenshots of how it looks right now,
then we can see what is the goal.
-
And if you can send us the URL for the page where you have this table, please?
If there is any sensitive data, please mark the reply as PRIVATE, for safety reasons.
Thanks.
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 | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Hi, Anna.
Actually, after re-reading the details i realise you meant for the Checkbox filter Modal.
Here is what i came up with.
For the modal checkbox options themselves, you can use this CSS selector to force them to be wider, and then they will take up one column :
But now my modal dialog CSS is in the default width, so this text from some of the checkbox labels/options overlaps/goes outside of the "max width" from the container,
so you can combine what we said before with this additional CSS for the Checkbox value Width :
It would look something like this, but of course, you can change all these width values to reach your desired goal.
Let me know if that helps.
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 | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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