MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Astrology font color

    Scheduled Pinned Locked Moved Custom CSS
    12 Posts 4 Posters 4.9k Views 4 Watching
    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.
    • L Offline
      letmetakeaselfie
      last edited by

      thanks for the quick reply however that didn’t change the font color for me :/

      justjim1220J cowboysdudeC 2 Replies Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @letmetakeaselfie
        last edited by

        @letmetakeaselfie

        Strange, It works for me.

        And, you made the cahnge in the MMM-Astrology.css file?

        Or, ADD the full code snippet to your custom.css file

        Either way should work!

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @letmetakeaselfie
          last edited by cowboysdude

          @letmetakeaselfie I wrote MMM-Astrology… do this… in your custom.css

          It worked for the title because there’s a class for that called ‘title’, I just edited it on github and added a class for description called ‘desc’

          Now you can go into your custom.css file like this:
          call your font [put this in the top of your custom.css file]
          @font-face {
          font-family: “DancingScript”;
          src:
          url(DancingScript-Regular.ttf) format(“truetype”);
          }

          .MMM-Astrology .desc{
          font-family: DancingScript-Regular;
          color: blue;
          }
          .MMM-Astrology .title{
          font-family: DancingScript-Regular;
          color: purple;
          }

          justjim1220J 1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @cowboysdude
            last edited by

            @cowboysdude

            the content is the same as the description, it changed color for me by just changing that part of the css

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            cowboysdudeC 1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer @justjim1220
              last edited by

              @justjim1220 NEVER advise ANYONE to change a css file, that is what the custom.css is for.

              And no your answer will not work… there are two different classes…one for title and one for description… IF he’s using the MMM-Astrology module I wrote…

              justjim1220J 2 Replies Last reply Reply Quote 0
              • justjim1220J Offline
                justjim1220 Module Developer @cowboysdude
                last edited by

                @cowboysdude

                Sorry, I thought that was the reason for the css files, to make the changes to suit your needs.
                I usually add to the custom.css file after I figure out what does what.

                My apologies! :worried_face:

                "Life's Too Short To Dance With Ugly People"
                Jim Hallock - 1995

                1 Reply Last reply Reply Quote 0
                • justjim1220J Offline
                  justjim1220 Module Developer @cowboysdude
                  last edited by

                  @cowboysdude

                  what is the content class in the css file?

                  Just curious, because that is how I figured out how to change the color of the description content…

                  0_1539829368008_Screenshot (394).png
                  gives me this…
                  0_1539829384218_Screenshot (395).png

                  and this…
                  0_1539829461402_Screenshot (396).png
                  gives me this…
                  0_1539829434230_Screenshot (397).png

                  When I go to figure out how things work, I make changes to the css file, then move it to my custom.css file, leaving the original intact. I was told to do it this way way back when I first started doing this. I guess I wasn’t told that changing the original was taboo, although, I have always felt I needed to keep the original intact to go back to just ‘in case’.

                  I was told this was the best way to learn, to play with things. Which I do. And if someone asks a question that I have had some experience with, I tend to return the help given to me by you and all the others who have been so awesome and patient with me.

                  I won’t give that advise anymore, I really am sorry, :pensive_face:

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  X 1 Reply Last reply Reply Quote 0
                  • L Offline
                    letmetakeaselfie
                    last edited by

                    That worked thank you both very much!

                    1 Reply Last reply Reply Quote 1
                    • X Offline
                      Xoni @justjim1220
                      last edited by

                      @justjim1220 said in MMM-Astrology font color:

                      @cowboysdude

                      what is the content class in the css file?

                      Just curious, because that is how I figured out how to change the color of the description content…

                      0_1539829368008_Screenshot (394).png
                      gives me this…
                      0_1539829384218_Screenshot (395).png

                      and this…
                      0_1539829461402_Screenshot (396).png
                      gives me this…
                      0_1539829434230_Screenshot (397).png

                      sorry to revive an old thread,

                      #1 the css does work to change colors. thank you…
                      #2 how in the hell did you get your hscope to look that way i like it a lot.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy