MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

    Transport
    transport deutsche bahn
    13
    42
    13178
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      onkelbobby last edited by

      One more css question popped up while I reconfigured the appearance of the module

      There is a train called Meridian stopping at our station. If I do not add any css style for this train it appears as the 5 digit train-number only that changes depending on the time of day.

      0_1544002777059_Meridian.jpg

      I want the module to show only the name “Meridian” for all of the trains. So is there a possibility to rename all train numbers to “Meridian” only without showing the train number?

      Below please find the css code I’m currently using:

      /* Meridian */
      .m79600:before {
        content: "Meridian";
      }
      .m79500:before {
        content: "Meridian";
      }
      // ... and so on for every train number
      

      thank you for yuour help…

      1 Reply Last reply Reply Quote 1
      • O
        onkelbobby last edited by

        no ideas?

        1 Reply Last reply Reply Quote 0
        • 1
        • 2
        • 3
        • 4
        • 5
        • 5 / 5
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy