This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Documentation - position of the 'Download' button

  • annem
  • Onderwerp Auteur
  • Offline
  • Elite lid
  • Elite lid
Lees meer
7 jaren 7 maanden geleden #5687 door annem
Hi Xerte Community,
Is there a way of changing the default position of the 'Download' button on the 'Documentation' page type?

Attached is a screenshot of a simple test Xerte, whereby I am linking back from the Documentation page to a menu, but the link to menu I have added shows above the 'Download' button which displays in the defaulted position.

Thanks in advance for any help.
Anne

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Lees meer
7 jaren 7 maanden geleden #5688 door Fay
Hi Anne

Try adding the script optional property to your page and using this:
Code:
var $downloadBlock = $('#downloadBtn').parents('.item'); $downloadBlock.prev().before($downloadBlock);

This will move the download button section above the block above it which I think is what you want.

I hope this helps
Fay

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • annem
  • Onderwerp Auteur
  • Offline
  • Elite lid
  • Elite lid
Lees meer
7 jaren 7 maanden geleden #5689 door annem
Beantwoord door annem in topic Documentation - position of the 'Download' button
Hi Fay,
This is perfect, thank you. Attached is the view I was wanting to achieve and using the script code did it for me.
Excellent community support and feedback as usual.

Anne

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

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