General questions and topics about Xerte Toolkits that don’t fit anywhere else.

tylsheet in another folder

  • rloenen
  • Onderwerp Auteur
  • Offline
  • Premium lid
  • Premium lid
Meer
2 jaren 2 maanden geleden #9048 door rloenen
tylsheet in another folder werd gestart door rloenen
In Xerte the link to a stylesheet is: FileLocation + 'media/style-locations.css' where the stylesheet is placed in the own media folder.
I placed my stylesheet in the USER-FILES folder so that I can use the same stylesheet in multiple learning objects and in different folders. Normally I would put in the script "../style-locations.css", one level higher in the structure, but that doesn't work.
How do I create the correct link to a stylesheet in another folder, in this case one level higher?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
2 jaren 2 maanden geleden #9049 door tom
Beantwoord door tom in topic tylsheet in another folder
This works if your installation is on the internet.

Just use the full URL to your USER-FILSES folder: https://<xerte url>/USER-FILES

You could also copy the theme you are using to a new folder. Rename all the theme files to the folder name and add the changes to the css file of the theme and choose that theme. That would even work if you need to export the Xerte projects.
De volgende gebruiker (s) zei dank u: rloenen

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

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