[Support request] two different header-images

Home Forums Support [Support request] two different header-images

Home Forums Support two different header-images

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228630
    imke

    Hello,

    as I have a very long name in the header, I’d like to split it into two different images:

    @media (max-width:3000px) {
    .site-header .header-image {
    display:inline-block; }
    }

    @media
    (max-width:768px) {
    .site-header .header-image {
    display: none; }
    }
    so far the long name dissappears, when getting small, but I don’t know how to exchange the images??

    I’ve tried background-image? A mess. I have no clue how that works??

    Thanks for helping.

    #228675
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You can use GP Hooks.

    For example: https://generatepress.com/forums/topic/display-on-mobile/#post-113772

    Let me know if you need more info 🙂

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