Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
narnado

Modifying mobile font sizes isn't showing any effect

Question

Site URL: https://kristelandnic.com/

Hey just reaching out to see if anyone can help with modifying the mobile font sizes on my site.

I am using the following CSS modification to the mobile font sizes below but the font-size tag isnt having any effect.

Adjusting line-height seems to work just fine.

Appreciate any help in advance!

@media screen and (max-width:767px) {
   h1 {
    font-size: 40px;
    line-height: 1.3384;
}
  h2 {
    font-size: 40px;
    line-height: 1.3384;
}
   h3 {
    font-size: 50px;
    line-height: 1.3384;
}
   h4 {
    font-size: 16px;
    line-height: 1.5;
}

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

try add !important to afer, eg: font-size: 40px !important;


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
On 5/1/2020 at 9:38 AM, narnado said:

Site URL: https://kristelandnic.com/

Hey just reaching out to see if anyone can help with modifying the mobile font sizes on my site.

I am using the following CSS modification to the mobile font sizes below but the font-size tag isnt having any effect.

Adjusting line-height seems to work just fine.

Appreciate any help in advance!

@media screen and (max-width:767px) {
   h1 {
    font-size: 40px;
    line-height: 1.3384;
}
  h2 {
    font-size: 40px;
    line-height: 1.3384;
}
   h3 {
    font-size: 50px;
    line-height: 1.3384;
}
   h4 {
    font-size: 16px;
    line-height: 1.5;
}

Resharing. Any suggestions are much appreciated!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...