I need to style the dates that are open (see attachment), to make them clearer, but I can't see any unique CSS for those opening days, although they are clearly seperate and styled differently from the closed days. Can you give me some CSS class or ID that I can style?
You can try modifying /wp-content/plugins/ameliabooking/public/js/chunks/amelia-booking-booking-xxxxxxxxxxxxxxxxxxxxx.js
So, you're looking for "textDecoration:"line-through"", or "opacity:.4". The xxxxxxxxxxxxxxxxxxxxx.js is actually alphanumeric on your website, and there are a few of them. For example:
amelia-booking-booking is for [ameliabooking], amelia-booking-catalog is for [ameliacatalog] and amelia-booking-search is for [ameliasearch] shortcodes. They each define styles on front-end, and those are the files you need to modify.
Please back up the files first, because you can cause the booking form not to appear on the page if you make a mistake.
Also, when the plugin is updated, these files are deleted and replaced with other files with different names, so you will need to do it again.
Hi,
I need to style the dates that are open (see attachment), to make them clearer, but I can't see any unique CSS for those opening days, although they are clearly seperate and styled differently from the closed days. Can you give me some CSS class or ID that I can style?
Thanks in advance.
Asger
Hello Asger
They actually are the same, only the past days have "text-decoration: line-through":
Font color, font-weight, they are all the same, so you would need to develop some custom solution to change that.
Kind Regards,
Aleksandar Vuković
[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,
The font-color (or maybe opacity) is also different for the opened days.
But ok, so can I style the past / closed days? That will do I - I'll just give those more opacity.
.. I can't see a unique class for the past days in the code you shared though, or is it just me?
Tx
Hi again Stine
There's no unique class there.
You can try modifying /wp-content/plugins/ameliabooking/public/js/chunks/amelia-booking-booking-xxxxxxxxxxxxxxxxxxxxx.js
So, you're looking for "textDecoration:"line-through"", or "opacity:.4". The xxxxxxxxxxxxxxxxxxxxx.js is actually alphanumeric on your website, and there are a few of them. For example:
amelia-booking-booking is for [ameliabooking], amelia-booking-catalog is for [ameliacatalog] and amelia-booking-search is for [ameliasearch] shortcodes. They each define styles on front-end, and those are the files you need to modify.
Please back up the files first, because you can cause the booking form not to appear on the page if you make a mistake.
Also, when the plugin is updated, these files are deleted and replaced with other files with different names, so you will need to do it again.
Kind Regards,
Aleksandar Vuković
[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
Ok, sounds like too much work. We'll just have to do without. Thanks for your assistance.
You're welcome, Stine
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[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