Hide or tidy an element on mobile

Paid versionAppearance & deployments

On phones your add-to-cart button is visible again without scrolling.

What it replaces: 30 min of developer time

What you write to Claude

„Hide .blockreassurance_product below 768px and reduce product title font-size to 1.25rem on mobile. Use custom.css only.”

The problem

On phones the reassurance block pushes the add-to-cart button below the fold.

What Claude does

  1. Claude reads your theme's own style file.
  2. It adds a rule that applies only on small screens and shows exactly what changes.
  3. After your yes it saves with a backup.

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 use a separate, extra-protected connection, usually set up by whoever looks after your shop. Every file is backed up before it changes.

See pricing

Related use cases

For developers
Area
3 · Appearance & deployments
Connector
service connector
In the free Audit
no, paid version only
For
Developer, Store owner
Tools
ps_read_theme_file, ps_write_theme_file, ps_clear_cache

Step by step

  1. Reads assets/css/custom.css with ps_read_theme_file.
  2. Adds a media query with the rules you asked for.
  3. Calls ps_write_theme_file. The preview shows the diff.
  4. After your approval, saves with a backup and clears the Smarty cache.

Safety

Block 3 works only through the service connector: a separate token accepted only from allowlisted IP addresses, off after installation. 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-05