[Support request] Adjust font size and images on all mobile devices

Home Forums Support [Support request] Adjust font size and images on all mobile devices

Home Forums Support Adjust font size and images on all mobile devices

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #633022
    Theresia

    Hi,
    i use GeneratePress Premium. Can you tell me how to integrate css that all font sizes, paragraphs and also the images are automatically adapted to mobile devices. Which css should I use?

    Thanks Theresia

    GP Premium 1.6.2
    #633084
    David
    Staff
    Customer Support

    Hi there,

    it looks like you are using Elementor to build your pages, which comes with its own responsive controls

    For fonts you can set some global CSS like so – just add the necessary elements you need to this code, you may find that it doesn’t work if you have made Typography changes directly in Elementor.

    @media (max-width: 768px) {
        body {
            font-size: 16px;
        }
        h1 {
            font-size: 28px;
        }
        h2 {
            font-size: 28px;
        }    
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.