Track styling and short code issues
-
Hi, I really like the plugin but am having some issues. In my admin area the shortcode help is formatted incorrectly. I found the help at https://leafext.de/extra/helper/ instead.

- It is not clear to me how to change the style of individual tracks in the multi elevation environment. I can find no mention of this at https://leafext.de/en/multielevation/dokumentation/ or in examples using this plugin.
- It appears I need to create a custom theme:
In your elevation.css put the styles like the theme styles in https://unpkg.com/@raruto/[email protected]/dist/leaflet-elevation.css or check out Raruto's examples. But how does one assign a specific styling to a specific track? - Example: In a perfect world this would work:
[leaflet-map width=100% height=60vh fitbounds] [elevation-track file="address-of-track-1.gpx" color="black"] [elevation-track file="address-of-track-2.gpx" color="dashed red"] [multielevation]If I have many tracks maybe it makes more sense to include leaflet directly and not use the leaflet map and leaflet map extension plugins. I am new to leaflet and javascript+wordpress so I apologise if these are obvious questions. Many thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Track styling and short code issues’ is closed to new replies.