Theme
Hide or tidy an element on mobile
On phones your add-to-cart button is visible again without scrolling.
ProPaid version
What it replaces: 30 min of developer time
Hide .blockreassurance_product below 768px and reduce product title font-size to 1.25rem on mobile. Use custom.css only.
What the chat does
- The chat reads your theme's own style file.
- It adds a rule that applies only on small screens and shows exactly what changes.
- After your yes it saves with a backup.
The problem
On phones the reassurance block pushes the add-to-cart button below the fold.
What you get
The product page is shorter on phones; desktop is unchanged.
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
- Developer, Store owner
- Tools
- ps_read_theme_file, ps_write_theme_file, ps_clear_cache
Step by step
- Reads assets/css/custom.css with ps_read_theme_file.
- Adds a media query with the rules you asked for.
- Calls ps_write_theme_file. The preview shows the diff.
- After your approval, saves with a backup and clears the Smarty cache.
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.
Last updated: 2026-10-25