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

tylsheet in another folder

Plus d'informations
il y a 2 ans 2 mois #9048 par rloenen
tylsheet in another folder a été créé par 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?

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

Plus d'informations
il y a 2 ans 2 mois #9049 par tom
Réponse de tom sur le sujet 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.
Les utilisateur(s) suivant ont remercié: rloenen

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

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