Okay
  Public Ticket #2647085
Custom CSS
Closed

Comments

  • Henk started the conversation

    Hello,

    I want to change the font and font size of Amelia. I did it with changing the CSS file, but after the update to 3.0 the custom CSS is gone. Maybe it's not the good way, but how can I make it working again? If I change the CSS file, maybe in the future it's broken again. 

    Thank you very much!

  • Henk replied

    I did it with changing the CSS file in the uploads folder.

  • [deleted] replied

    Hello Henk,

    Thank you for your purchase and apologies for replying a bit later, we don't work on weekends.

    If you implement changes to Amelia files, they will be overridden each time you update the plugin, and this can't be changed, unfortunately. You would need to implement the change after each update. 

    You can try adding the CSS as custom CSS directly to the page where you have Amelia , in this case it is saved on the page, and won't be changed with the update. 

    This should cover most of the CSS in Amelia, so you can try it out:

    <style>
    .amelia-app-booking input[type="text"], .am-modal.am-in-body input[type="text"], .amelia-app-booking input[type="email"], .am-modal.am-in-body input[type="email"], .amelia-app-booking input[type="tel"], .am-modal.am-in-body input[type="tel"], .amelia-app-booking input[type="url"], .am-modal.am-in-body input[type="url"], .amelia-app-booking textarea, .am-modal.am-in-body textarea, .amelia-app-booking select, .am-modal.am-in-body select, .amelia-app-booking .form-control, .am-modal.am-in-body .form-control, .amelia-app-booking .am-stripe-card, .am-modal.am-in-body .am-stripe-card,
    .amelia-app-booking h1, .am-modal.am-in-body h1, .amelia-app-booking h2, .am-modal.am-in-body h2, .amelia-app-booking h3, .am-modal.am-in-body h3, .amelia-app-booking h4, .am-modal.am-in-body h4, .amelia-app-booking p, .am-modal.am-in-body p, .amelia-app-booking span, .am-modal.am-in-body span, .amelia-app-booking div, .am-modal.am-in-body div, .amelia-app-booking section, .am-modal.am-in-body section, .amelia-app-booking ul, .am-modal.am-in-body ul, .amelia-app-booking li, .am-modal.am-in-body li, .amelia-app-booking a, .am-modal.am-in-body a {font-family:fantasy !important;}
    </style>

    We set only the font as fantasy just as an example, but you will replace it with the font you want, and you can add the font size property to it as well.