Report any technical problems you discover and discuss solutions.

x_pageHolder margins

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 8 maanden geleden #4138 door Neil Pollock
x_pageHolder margins werd gestart door 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 8 maanden geleden #4139 door ronm
Beantwoord door ronm in topic 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/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Neil Pollock
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
9 jaren 8 maanden geleden #4140 door Neil Pollock
Beantwoord door Neil Pollock in topic x_pageHolder margins
I just wanted to hide the header on a single page, not for the whole tutorial.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 8 maanden geleden #4141 door Fay
Beantwoord door Fay in topic 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.180 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo