A user wants to hide the header and footer on a single product page being used as a landing page for paid ads, aiming to create a distraction-free sales experience. They’ve attempted CSS modifications without success.
Proposed solutions:
Conditional CSS in product template: Use Liquid templating to target the specific product by handle (e.g., {% if product.handle == 'kit-de-bienvenida-soluto' %}), then apply CSS to hide header/footer elements within that condition in the product.liquid file.
Custom product page template: Create a dedicated template via Theme Customizer, add a “Custom liquid” or “Custom code” section, and insert hiding code there for cleaner separation.
Global conditional in theme.liquid: Add conditional code after the <head> tag in theme.liquid, targeting the product by ID (e.g., {% if product.id == 10029143982423 %}), then apply CSS to hide elements.
All approaches use Liquid conditionals to isolate the styling to one product page. The discussion remains open with no confirmation of which solution was implemented.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
I’m looking for help to hide the header and footer on a specific product page. I only want to do this for one landing page that we’re using for paid ads — it’s a product page that should act like a focused sales page without any distractions.