The code is added in the CSS option of the Astra theme. Normally CSS code work from there and I have a couple of those for hiding some Amelia buttons. Weird this one does not work. Any suggestions?
By adding it as "important", this overwrote the code and hid the button.
On the other hand, please consider that this button is by no means useful when selling packages since employees cannot book for clients on packages (a missing feature for Amelia).
I would like to ask you something, if I want to hide the part where the time zone is, the one next to the New reservation, button selected the time zone, is it possible? What would be the CSS I should use?
Thank you for your response Yamil. I have tried, but it disables the email or user and password fields. It just disappears those fields and you can't type in them, I imagine it's more complicated to hide what I want since it's different than a button.
Hi Amelia Team
I need to hide this button from the employee:
I only want the employee to be able to edit booking but not to create new ones.
Is this possible?
I tried this CSS code but it doesn't work:
.amelia-app-booking #am-cabinet .am-cabinet-dashboard .am-cabinet-content .am-add-new-button {display: none;
}
Kind regards,
Hello Yamil,
Thank you for reaching out to us.
That CSS that you sent here should work. Where have you added that CSS exactly?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[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
Hello Uros
The code is added in the CSS option of the Astra theme. Normally CSS code work from there and I have a couple of those for hiding some Amelia buttons. Weird this one does not work. Any suggestions?
Regards,
Hello Uros
Just solved the issue by using this code:
button.el-button.am-add-new-button.am-m-0.am-w-100.el-button--primary {
display: none !important;
}
By adding it as "important", this overwrote the code and hid the button.
On the other hand, please consider that this button is by no means useful when selling packages since employees cannot book for clients on packages (a missing feature for Amelia).
Regards,
Hello Yamil,
Glad to hear that the issue has been resolved.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[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
I would like to ask you something, if I want to hide the part where the time zone is, the one next to the New reservation, button selected the time zone, is it possible? What would be the CSS I should use?
Thank you very much for your time and help.
Hi wpbasilico
No problem, you can always try by inspecting your site by using the browser:
Apparently the code is this one:
.amelia-app-booking #amelia-booking-wrap .el-input--suffix .el-input__inner, #am-modal.am-modal.am-in-body .el-input--suffix .el-input__inner { display: none; }
Not sure if this one will work, but you can give it a try.
Regards,
Thank you for your response Yamil. I have tried, but it disables the email or user and password fields. It just disappears those fields and you can't type in them, I imagine it's more complicated to hide what I want since it's different than a button.
wpbasilico
I guessed so. It's always trial and error. Maybe this one makes it:
I tested this code and worked:
div.el-col.el-col-8 {
display: none;
}
Hope it helps.
Regards,
Hello Yamil and Basilico,
Please try what Yamil suggested and let me know if that worked for you.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[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
Uroš, Yamil's code worked perfectly.
Yamil, thank you very much for your help and your time. Thanks for sharing your knowledge with me, I know nothing about coding and you solved it.
Hello David,
Glad to hear that this worked.
Please let us know if you have any other questions.
Kind Regards,
Uros Jovanovic
[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