MagicMirror Forum

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

    Resize content to fit position?

    Troubleshooting
    2
    4
    226
    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.
    • C
      CheapDad last edited by

      I’m trying to clear out the center of my MM, so I’d like to move the newsfeed to either the left or right. Unfortunately, when I change it to “bottom_right” all that really does is right-justify the text. I’d like the newsfeed to word wrap, so it appears like calendar or weather does. Is that possible in custom css?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @CheapDad last edited by sdetweil

        @cheapdad turn on the wrapDescription:true setting variable

        (gotta read the module docs
        https://docs.magicmirror.builders/modules/introduction.html
        )

        Sam

        Create a working config
        How to add modules

        C 1 Reply Last reply Reply Quote 0
        • C
          CheapDad @sdetweil last edited by

          @sdetweil You’re right, better reading comprehension needed. I made the edits but the text is still simply right justified:

          		{
          			module: "newsfeed",
          			position: "bottom_right",
          			config: {
          				feeds: [
          					{
          						title: "CNN News Headlines",
          						url: "http://rss.cnn.com/rss/cnn_topstories.rss",
          					}
          				],
          				wrapTitle: true,
          				wrapDescription: true,
          				showSourceTitle: true,
          				showPublishDate: true,
          				broadcastNewsFeeds: true,
          				broadcastNewsUpdates: true
          			}
          
          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @CheapDad last edited by

            @cheapdad well, right is right… length needs to be shorter, so that might take css

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • 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