Skip to content
  • Launch offer: 30% off your first payment on every plan, until 7 December. Applied at checkout.
  • Atheria Stays 1.0 — the boutique hotel theme for free Elementor
  • Client accounts and white label — hand over the keys, not the toolbox
  • 47 hotel widgets — no Elementor Pro needed
  • Annual or lifetime — one, five or ten sites

Atheria Stays 1.0All documentation

Submit a ticket

Custom code

Last updated

On this page

Add your own CSS and JavaScript on Theme settings › Custom code. It is kept when Atheria updates.

What you need#

  • An active licence on the site. See Activating your licence.
  • An administrator account that may edit CSS, for the CSS, and one that may add scripts, for the JavaScript.

Steps#

  1. Open Atheria Stays › Theme settings › Custom code.
  2. Type your CSS in Your CSS. To follow your Colours settings, insert any of six colour variables: Page background, Text, Accent on light, Dark section, Text on dark and Border.
  3. Type your JavaScript in Your JavaScript, without <script> tags.
  4. Choose Save changes.
Theme settings › Custom code, with the CSS and JavaScript editors.

What you should see#

Both fields are WordPress’s code editor, with line numbers and a count of problems in your code. Your JavaScript runs at the bottom of every page.

If something goes wrong#

Your code breaks something#

Delete the code here and choose Save changes. Nothing else on your site is changed.

The field is read only#

Your account may not edit CSS, or may not add scripts, and the screen says which. Ask an administrator who may.

The editor counts problems#

Fix the lines it marks before you rely on the code.

Still stuck?

We help by email while your licence includes support.

Submit a ticket