Site logo

Archived topic

background images

3 replies · Started by johnzoro on April 22, 2019

Viewing posts 1–4 of 4

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?

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

thanks!

You're welcome

This archived topic is closed to new replies.