[Support request] background images

Home Forums Support [Support request] background images

Home Forums Support background images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #875405
    johnzoro

    i have a test site i am building

    i am using gpp and lightweight grid colummns.

    can i have each column have it’s own background image without any spaces?

    #875482
    David
    Staff
    Customer Support

    Hi there,

    you can include classes and inline styles to the LGC grid. Check the FAQ here and it shows you how to do that:

    https://en-gb.wordpress.org/plugins/lightweight-grid-columns/

    I personally would use CSS classes e.g add this CSS:

    .column-bg {
        background-size: cover;
        background-position: center center;
    }
    
    .column-bg.first {
        bacgkround-image: url(image_url_for_first_column);
    }
    
    .column-bg.second {
        bacgkround-image: url(image_url_for_second_column);
    }
    
    /* add more column-bg.column# */
    
    

    Then your first column would contain class="column-bg first" second column class="column-bg second" and so on

    #881303
    johnzoro

    thanks!

    #881599
    David
    Staff
    Customer Support

    You’re welcome

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