Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
General questions and topics about Xerte Toolkits that don’t fit anywhere else.
  • Page:
  • 1

TOPIC:

tylsheet in another folder 6 months 1 week ago #9048

  • rloenen
  • rloenen's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 96
  • Thank you received: 0
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?

Please Inloggen or Create an account to join the conversation.

tylsheet in another folder 6 months 1 week ago #9049

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
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.
The following user(s) said Thank You: rloenen

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ingdon
Time to create page: 0.043 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search