Theme
Change the colour of the add-to-cart button
Your most important button stands out in your brand colour, without paying a developer.
ProPaid version
What it replaces: 30-60 min of developer time
make the add to cart button our green #2E7D32 with white text, slightly darker on hover
What the chat does
- You give the chat the colour.
- The chat prepares the change in your theme's own style file and shows exactly what changes.
- After your yes it saves, after backing up the file.
- It checks a product page to confirm the new look.
The problem
The add-to-cart button is grey and blends in. I want it in our green, but I don't touch code.
What you get
The button uses your colour on every product page. The original file can be restored from its backup.
You stay in control
You see every change before it is saved, nothing happens without your yes, and you can undo it later. Changes to the shop's look need the Theme switch in the module panel, which turns itself off after 24 hours. Every file is backed up before it changes.
Related use cases
For developers
- Area
- 3 · Theme
- In TellMyShop Free
- no, paid version only
- For
- Store owner, Developer
- Tools
- ps_list_theme_files, ps_read_theme_file, ps_write_theme_file, ps_clear_cache, ps_inspect_page
Step by step
- Finds assets/css/custom.css with ps_list_theme_files (the compiled theme.css can be overwritten when the theme is rebuilt).
- Reads the current file with ps_read_theme_file.
- Calls ps_write_theme_file with the new rule. The preview shows the diff and the file is validated before saving.
- After your approval, saves the file (an automatic backup is made first) and clears the Smarty cache with ps_clear_cache (also previewed).
- Checks the product page with ps_inspect_page.
Safety
This needs the Theme switch in the module panel, which turns itself off after 24 hours. Theme files are backed up automatically before every write and can be restored with ps_restore_file_backup. Limit: 20 theme file writes per hour. Preview and approval apply to every file write.
Last updated: 2026-10-25