Responsive H1 and Font

Posted in: Newspaper
Post count: 7

Hi,

I wanted to make the H1 Titles on mobile phones smaller – so in the custom code I added –


@media
only screen and (max-width: 767px) {
h1 { font-size: 22px !important; }
}

So that worked pretty well – but what can I use to make the font responsive also?

It’s a little too big at 15px (which is fine for desktops/iPads etc..)

Also, after I used the above code – now there’s a lot of white space between the H1 title and the menu…how can I remove that space?

Thanks,

Tiarnan

Post count: 20688

Hi,

We could take a look, please provide a link to your website and mention which headings you want to customize and how.

Note that there are Advanced CSS sections in the theme panel which you can use to customize elements based on device. So you could do something like this
https://www.screencast.com/t/ekiunwgyYo

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.