I need to reduce the font-size of Bootstrap's Jumbotron header in Rails.
I see here
that I need to add something like
@jumbotron-heading-font-size: ceil((@font-size-base * 2.5));
$jumbotron-heading-font-size: ceil(($font-size-base * 2.5));
I've found a solution. As I'm using Bootstrap 4, I had a look at
and found $display3-size variable there (this is a class for h1 tag inside Jumbotrone), so then I added the following line before @import bootstrap into my .scss file:
So it works now