I'm a beginner on Shiny, and I'd like to modify the text size, but it doesn't really work :
h1(strong("TITLE"), align="center", style = "font-family: 'Times', serif;
font-weight: 500; font-size: 500; text-shadow: 3px 3px 3px #aaa; line-height: 1;
color: #404040;"),
Color, font-family and text-shadow is working, but not the other ones... Do you know how to change the size and the thickness of my title please ?
I'm a beginner on Shiny, and I'd like to modify the text size, but it doesn't really work :
h1(strong("TITLE"), align="center", style = "font-family: 'Times', serif;
font-weight: 500; font-size: 500; text-shadow: 3px 3px 3px #aaa; line-height: 1;
color: #404040;"),
Color, font-family and text-shadow is working, but not the other ones... Do you know how to change the size and the thickness of my title please ?
Share Improve this question edited Mar 5, 2019 at 21:26 Romain asked Mar 5, 2019 at 21:17 RomainRomain 1031 gold badge1 silver badge8 bronze badges2 Answers
Reset to default 12I think you are missing a couple of "px" inside the style arguments. It should read
h1(strong("Title"), style = "font-size:500px;")
Tha same goes for the rest styling options.
Have you tried using a function other than h1? Shiny uses the following to functions to call html5 functions:
Link to shiny documentation
Is this what you need?