I have a lot of categories and services and during booking I get a list of categories/services with scrolling required. I would like them to be visible immediately open without a sidebar (size adjusted to content).
The following code does not help: It enlarges the window, but not the size of the selection list.
Thanks for the tip. I actually shortened the version to suit my needs. Where there is a lot of content, a slider appears, and where there is less, there is none.
Unfortunately, the problem still persists on the phone - long names of treatments and limited screen size are a problem.
The best solution would be to break lines in such a case - the name of the service would simply wrap around, and the long name would be displayed on two lines. Is something like this possible?
To make the .el-cascader-menu__wrap more responsive for mobile devices, you can adjust the max-height based on the screen width using media queries. Here's how you can modify your CSS for mobile:
css
Copy code
.el-cascader-menu__wrap { height: fit-content !important; max-height: 430px;
}
@media (max-width: 768px) { /* Adjust for tablets and small devices */ .el-cascader-menu__wrap { max-height: 300px; /* Change the height to fit mobile screens */ }
}
@media (max-width: 480px) { /* Adjust for mobile phones */ .el-cascader-menu__wrap { max-height: 250px; /* Further reduce the height for smaller screens */ }
}
This CSS will apply different max-height values depending on the screen size, making the menu more user-friendly on mobile devices. You can adjust the pixel values according to your design preferences.
Great, thank you, that helped control the text. Unfortunately, part of it is still invisible. Is there really no way to wrap it to another line (so that there are two lines of text where it doesn't fit in one)?
I have turned off the maintenance mode so that you can judge it yourself on http://beautystreet.pl.
What I mean is that on a mobile device the names of treatments (services) should wrap around - they should be on two lines so that you can read which part of the body they apply to (and now it is invisible).
.am-adv-select__popper .am-adv-select__item-label {
white-space: normal; /* Allows text to wrap */
word-wrap: break-word; /* Breaks long words onto the next line */ }
My apologies if I already asked this before, but may I ask you for a small favor if you don’t mind?
Can you, please, leave a review on the Lite version of Amelia if you have an account at wordpress.org and have a couple of minutes? No need to write any specific text.
It’d mean a lot to us, and as a token of our appreciation, we would like to offer you a $10 credit for SMS notifications.
I have a lot of categories and services and during booking I get a list of categories/services with scrolling required. I would like them to be visible immediately open without a sidebar (size adjusted to content).
The following code does not help:
It enlarges the window, but not the size of the selection list.
I added a few of my own parameters, but they only apply to the window and not the selection list.
.amelia-v2-booking #amelia-container.am-fs__wrapper {
height: auto !important; /* Dynamic height, dependent on content */
min-height: 700px; /* Optional: minimum height */
overflow: hidden; /* Disables scrolling */
}
.amelia-v2-booking #amelia-container .am-fs__main-content {
height: auto !important; /* Dynamic height, dependent on content */
overflow: hidden; /* Disables scrolling */
}
As if the list of categories or services was locked to "display 6 items".
Attached files: Screenshot_6.jpg
Hi Michal,
Thanks for reaching out to us. I would have to consult the developers for the precise CSS code. I will get back to you as soon as I have feedback.
Thank you for your patience and understanding.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
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
Hello Michał
Please try the following CSS and let me know if it works for you:
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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
Thanks for the tip. I actually shortened the version to suit my needs. Where there is a lot of content, a slider appears, and where there is less, there is none.
.el-cascader-menu__wrap {
height: fit-content !important;
max-height: 430px;
}
Unfortunately, the problem still persists on the phone - long names of treatments and limited screen size are a problem.
The best solution would be to break lines in such a case - the name of the service would simply wrap around, and the long name would be displayed on two lines. Is something like this possible?
Hello Michał,
To make the .el-cascader-menu__wrap more responsive for mobile devices, you can adjust the max-height based on the screen width using media queries. Here's how you can modify your CSS for mobile:
This CSS will apply different max-height values depending on the screen size, making the menu more user-friendly on mobile devices. You can adjust the pixel values according to your design preferences.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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
Great, thank you, that helped control the text. Unfortunately, part of it is still invisible. Is there really no way to wrap it to another line (so that there are two lines of text where it doesn't fit in one)?
Hello Michał,
Please provide me with the screenshot of this and I will assist you with it.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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
I have turned off the maintenance mode so that you can judge it yourself on http://beautystreet.pl.
What I mean is that on a mobile device the names of treatments (services) should wrap around - they should be on two lines so that you can read which part of the body they apply to (and now it is invisible).
Attached files: Zdjęcie WhatsApp 2024-09-16 o 10.35.21_d322ad93.jpg
Hello Michał,
Please try this CSS:
Let me know if that works for you.Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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!
Thanks for the proposed solution, unfortunately nothing changes :(
Any other idea?
Hello,
You can try with this CSS:
Should look like this:
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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
This is the solution :) Thanks!
In tablet mode it still hides the text (does not wrap to the second line).
Can this be adjusted with the parameter (max-width: 767px)?
Hello MIchal,
Then add this CSS as well and let me now if it works or not:
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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
Thank you. Its works excelent.
Hello Michał,
Glad to be able to assist you.
My apologies if I already asked this before, but may I ask you for a small favor if you don’t mind?
Can you, please, leave a review on the Lite version of Amelia if you have an account at wordpress.org and have a couple of minutes? No need to write any specific text.
It’d mean a lot to us, and as a token of our appreciation, we would like to offer you a $10 credit for SMS notifications.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
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