[Support request] Responsive Header Background image

Home Forums Support [Support request] Responsive Header Background image

Home Forums Support Responsive Header Background image

  • This topic has 1 reply, 2 voices, and was last updated 6 years ago by Leo.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #528602
    umaporn

    Hi,

    How can I make Header background image responsive? What is the setup do we need

    Thanks,

    #528820
    Leo
    Staff
    Customer Support

    Hi there,

    Background images aren’t responsive in nature unfortunately.

    I’m not sure what effect you are trying to achieve but generally we can either re-positioning them for mobile or set a different one with this CSS:

    @media (max-width: 768px) {
        .site-header {
            background-image: url('https://URL-HERE);
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

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