Read the statement by Michael Teeuw here.
MMM-network-signal - make the message text larger
-
Better picture, having set up client/server:

-
@sdetweil So looks like the element is p as you correctly surmised before, but for some reason the custom.css entry is getting overwritten or somehow blocked (you can see it’s there in the inspector, but struck through)?
Here now I have no idea, aside from breaking rule 1 and just editing the js file directly…
The config.js setting for the module is:
{ module: "MMM-network-signal", position: "bottom_right", config: { server: "8.8.8.8", showMessage: true, flexDirection: "row-reverse", scale: 0.35 } },And the custom.css entry is :
.MMM-network-signal p { font-size: 1.5em; }I also tried fontSize: as per your original suggestion, but that didn’t work either.
-
@DarrenHill said in MMM-network-signal - make the message text larger
.MMM-network-signal p { font-size: 1.5em; }yeh, override is tricky sometimes… the ‘nearest’ specified (to the targeted thing) style wins…
in this case the style= specified ON the element itselfUNLESS
you add !important
this works
.MMM-network-signal p { font-size: 1.5em !important; } -
@sdetweil And we have a winner :D
That one worked as you say, thanks Sam!
So yesterday’s learning was GitHub, today’s is CSS ;)
-
@DarrenHill this worked for me. note the , before the p
.MMM-network-signal ,p { font-size: 1.5em; color: yellow; } -
@mumblebaj where do you see the leading comma in the css selector definition, except for allowing the same style to apply to multiple selectors
.class element1, element2, element3 { styles }vs having three separate definitions…
.class element1{ styles } .class element2 { styles } .class element3 { styles } -
@DarrenHill said in MMM-network-signal - make the message text larger:
So yesterday’s learning was GitHub, today’s is CSS
also see the ways you can select elements -
@sdetweil Try it. It works. I tested it.
-
@mumblebaj Just tried it (copy/paste from your code above) and whilst the yellow works, the font-size didn’t for me.
-
@mumblebaj well, it made the font bigger, but NOT 1.5em…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login