Page – sans theme actif
-
Bonjour, j’aimerais ajouté une page à mon site mais sans le theme actif.
J’ai un script HTML dédié et j’aimerais le copié/collé. Avoir un bouton sur le site qui mene directement à cette page. Comment faire ?
L’adresse du blog concerné est (visible uniquement pour les utilisateurs connectés).
-
Hello Lejaime, happy to help set this up for you!
To display custom HTML without your theme’s header and footer showing, you have two options depending on how you’d like to set it up on your plan.
Because your site uses a Classic theme, WordPress automatically wraps pages with the active header and navigation menu. To hide those elements on a specific page using your plan’s custom CSS, follow these steps:
1. Create a new page and add a Custom HTML block containing your script.
2. Publish the page and find its unique Page ID class in your browser’s inspect tool.
3. Go to Appearance → Customize → Additional CSS and add code targeting that Page ID to hide the header and footer elements.
Alternatively, you can switch to a modern Block Theme where you can build a completely blank template without a header or footer block, then paste your code into a Custom HTML block on that template. You can read more about managing your design in our Custom Design & CSS Guide.