• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

custom.css ......body???

Scheduled Pinned Locked Moved Custom CSS
42 Posts 3 Posters 1.8k Views 3 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.
  • P Offline
    piki
    last edited by Nov 18, 2024, 7:52 PM

    http://localhost:8080/sku.jpg

    and should I enter that in custom .css?

    body {
    background-image : url(‘http://localhost:8080/sku.jpg.’);
    background-size: cover;

    S 1 Reply Last reply Nov 18, 2024, 8:45 PM Reply Quote 0
    • S Away
      sdetweil @piki
      last edited by Nov 18, 2024, 8:45 PM

      @piki yes,
      you should be able to use the developers window to add that to test out

      select the body element and add in top right

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        piki
        last edited by Nov 19, 2024, 4:22 PM

        I copied it directly into custom .css…but it still doesn’t work

        S 1 Reply Last reply Nov 19, 2024, 4:23 PM Reply Quote 0
        • S Away
          sdetweil @piki
          last edited by Nov 19, 2024, 4:23 PM

          @piki can you show the custom.css entry

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            piki
            last edited by Nov 19, 2024, 4:31 PM

            body {
            background-image : uurl(‘http://localhost:8080/sku.jpg.’);
            background-size: cover;

            }

            S 2 Replies Last reply Nov 19, 2024, 4:38 PM Reply Quote 0
            • S Away
              sdetweil @piki
              last edited by Nov 19, 2024, 4:38 PM

              @piki said in custom.css ......body???:

              uurl

              only url

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                piki
                last edited by Nov 19, 2024, 4:41 PM

                I fixed it, but the image still doesn’t appear

                body {
                background-image : url(‘http://localhost:8080/sku.jpg.’);
                background-size: cover;

                }

                S 1 Reply Last reply Nov 19, 2024, 4:44 PM Reply Quote 0
                • S Away
                  sdetweil @piki
                  last edited by Nov 19, 2024, 4:44 PM

                  @piki and if you open the developers window, elements tab , select the body element

                  is the css selected
                  and are there any errors? (in the console tab)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @piki
                    last edited by Nov 19, 2024, 4:46 PM

                    @piki said in custom.css ......body???:

                    /sku.jpg.');

                    you also have a trailing . in the image name, ‘jpg.’

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      piki
                      last edited by Nov 19, 2024, 4:47 PM

                      Failed to load resource: the server responded with a status of 404 (Not found) sku.jpg.:1

                      S 1 Reply Last reply Nov 19, 2024, 4:51 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        14/42
                        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