Report any technical problems you discover and discuss solutions.

x_pageHolder margins

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 9 ans 8 mois #4138 par Neil Pollock
x_pageHolder margins a été créé par Neil Pollock
I'm working on an idea that requires removing the #x_headerBlock element. Unfortunately, it seems that when you do this the #x_pageHolder element still calculates the top margin as though the header block was still present. It only calculates the margin correctly if you manually resize the window.

Here is an example: xerte.cardiff.ac.uk/play_4505

Any ideas?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 9 ans 8 mois #4139 par ronm
Réponse de ronm sur le sujet x_pageHolder margins
Can you not just use the Hide Header optional property?

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Connexion ou Créer un compte pour participer à la conversation.

  • Neil Pollock
  • Auteur du sujet
  • Hors Ligne
  • Membre premium
  • Membre premium
Plus d'informations
il y a 9 ans 8 mois #4140 par Neil Pollock
Réponse de Neil Pollock sur le sujet x_pageHolder margins
I just wanted to hide the header on a single page, not for the whole tutorial.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 9 ans 8 mois #4141 par Fay
Réponse de Fay sur le sujet x_pageHolder margins
Add the styles optional property to the page where you want the headers to be hidden and include this:
Code:
#x_headerBlock { height: 0; } #x_pageHolder { margin-top: 0 !important; }

This should work ok on pages like in your example (plain text) but won't look great if the page where you're hiding the header is something like a navigator page as the panel may look too short with the top margin removed.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.167 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo