[Resolved] Autofit Gradient Background height/width

Home Forums Support [Resolved] Autofit Gradient Background height/width

Home Forums Support Autofit Gradient Background height/width

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1618862
    Ryan

    Hi, how do I make my gradient background autofit height and width? I am using a container for the entire page right now with a background gradient within the container from generateblocks

    #1619097
    Ying
    Staff
    Customer Support

    Hi Ryan,

    Try to set the GB container background color to transparent, then use this CSS add background to the body.

    body.page-id-2595 {
        background: linear-gradient(180deg, #3a4fff 0%, #69d7de 100%);
        background-size: 100% 150%;
    }
    body.page-id-2595 #page {
        background-color: transparent;
    }

    Let me know ๐Ÿ™‚

    #1619106
    Ryan

    oh wow! perfect thanks

    #1619139
    Ying
    Staff
    Customer Support

    No problem ๐Ÿ™‚
    Glad to help!

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