NewCraftRank SitesA free website and storeMake yours ›
1.10.41CraftRank Launcher is out Download ›AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Server ownersYour own launcher with your name, logo and one click onto your server See themes ›
Docs / Website and store

Pro themes

2 min read

With Pro, you can upload a theme: your own CSS, JavaScript, pictures and fonts on top of the default look. Only the site owner can upload a theme. Open your store admin and go to Theme files.

Start from the default theme

On Theme files, press Download the default theme. The .zip holds:

What a .zip may hold

Press Upload. A new upload replaces the old theme only when every file passes the checks, and it is on your store right away.

Where the theme is used

theme.css loads after the store's own CSS, so a rule in it wins over the same rule there. Use pictures and fonts from the .zip with paths like url(img/hero.webp). theme.js runs on the store pages after the page is ready.

theme.css styles every page players see, including the basket, checkout and account pages, so the whole store looks the same. theme.js runs on the store pages only, never on the basket, checkout, account, payment or admin pages, so payments and logins always work the same.

Limits for scripts

A theme's script can only load files from your own store. fetch('/store') works; requests to other sites are blocked. Pictures can only come from your store, so a theme can't send your players' data anywhere. Nothing in a theme ever runs on our servers.

Turn it off or delete it

Use the default look turns your theme off and keeps the files. Turn my theme on brings it back. Delete the files removes them. When Pro ends, your store uses the default look until you renew.