Disable highlight and copy text - Dawn Theme

Topic summary

Disabling text selection and image saving in the Dawn theme.

Text copy prevention:

  • Add CSS in assets/base.css: body { user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }.
  • Steps: Online Store → Theme → Edit code → assets/base.css → paste at bottom.
  • This prevents text highlighting/selection across browsers.

Outcomes:

  • Original poster and multiple users confirmed it works.
  • One user reported it didn’t work; no alternative or follow-up fix was provided.

Image save prevention (right‑click/long‑press):

  • Add CSS in base.css (after body rules): img { pointer-events: none; }.
  • This blocks pointer interactions on images, preventing right‑click and long‑press save (and also disables clicking on images).
  • Users confirmed this worked.

Theme settings vs. code:

  • A question asked whether this can be done via theme settings; a reply suggested enabling/disabling either in theme settings or globally, but specifics were not clarified.

Status:

  • Practical CSS solutions were shared and largely successful.
  • Code snippets are central to understanding the fixes.
  • Thread partially open due to one unresolved case where text selection block did not work.
Summarized with AI on December 23. AI used: gpt-5.

worked perfectly!! thank you