Avada Forums Community Forum font size on mobile version

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • sinn
    Participant
    Post count: 9

    Hi there!
    I tried to get a bigger font size on the mobile version.
    Could you please help me, where I have to define that or if I have to write a customized CSS?

    Thanks for your help.
    Dominique

    camu26
    Participant
    Post count: 14

    Hello,

    You have to do it with media querys of CSS.

    @media only screen and (max-width: 767px) {
        .my-class {
           font-size: 2em;
        }
    }
    sinn
    Participant
    Post count: 9

    Hi camu26

    thanks for your help. I copied the code you mentioned to the additional CSS but I cannot see any difference in on my mobile device. Do I have to enter the code somewhere else?

    Best regards
    Dominique

    Jetxpert-Envato
    Blocked
    Post count: 339

    @sinn,

    Try this.

    Cheers!

    marklchaves
    Participant
    Post count: 873

    Hi @sinn,

    The code you copied will only work if you have a my-class assigned to all the content elements on your site. This is not exactly easy to do. Furthermore, the em units in the example are “less” sensitive to change.

    I explain the differences of the units on CodePen.

    Good luck!

    sinn
    Participant
    Post count: 9

    Thanks for your help! Works perfect now…
    Best regards!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.