Pixel image spacing bug in Debut theme

New Member
2 0 0

Hi, I'm experiencing a frustrating bug in the Debut theme. Whenever I enter spacing in images in the visual editor, I'm unable to save that image spacing. I enter the spacing again and again and it always sets back to zero.

Enter spacing and save:


Preview page, see no changes, spacing has reset to zero:


I finally looked at the html editor and there appears to be a bug in the code. All pixel values have two "px" after them instead of just one. I imagine this is what's preventing images from working in the visual editor.


This is extremely frustrating and rendering the visual editor unusable.

Any thoughts? Thank you!


Replies 4 (4)
Shopify Partner
2300 413 542


Thank you for your question. 

Please share your store URL, page URL and also password (if your store has one), I'll help you out to the best of my ability.

Kind regards,

◦ Slideshow images cutting off? Try the Slideshow (PRO) section. No apps required. | Replace apps with copy/paste code snippets & save money. Examples here.
New Member
2 0 0
New Member
1 0 1

This is also an issue in the narrative theme. Thanks so much for finding the issue and solving the problem.

For other information, the order of the margins are: top, right, bottom, and left

Shopify Partner
3458 229 675

If you have a lot of products then while fixing this issue you could put a shim in place to automatically replace those RTE errors so the customer experience is less impacted

Always backup themes and files before making changes

Depending on theme in your product templates find the product description and update it with one of the following:

{{ product.description | replace: 'pxpx', 'px' }}

or for some themes

{{ product.content | replace: 'pxpx', 'px' }}


Join the discussion - What was learned this Black Friday?

Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org

Problem Solved? ✔Accept and Like solutions to help future merchants

Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com