Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Scaling section background image for different viewports

Home Forums Support Scaling section background image for different viewports

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #394006
    Max

    Hey Tom

    I am using an image that has no copyright and I downloaded from the net. It is perfect for what I want to use it for. However it is a very odd size 1920 x 658.

    It is fine as background in full screen, but is not tall enough to fill the background required in tablet and mobile view.

    Is there any way to scale up the height of the background image (and the width to maintain proportions)using @media breakpoints for phone and tablet and relevant css?

    Thanks in advance for your kind assistance.

    Regards

    Max

    GeneratePress 1.4
    GP Premium 1.4.3
    #394195
    Leo
    Staff
    Customer Support

    Hi there,

    The best way is definitely to switch it out mobile only using the method you did in another post.

    Hope this help!

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