Column Shortcode with BG image

How do I add a BG image to a column I am creating with a shortcode?

Hi,

You can add it in the style attribute of your column.

eg.


[column type="1/1" style="background:url('http://yoursite.com/bg-image.jpg') top center no-repeat;"] Place your content in here. [/column] 

Change http://yoursite.com/bg-image.jpg with the url of your image.

More Info: http://demo.theme.co/integrity-1/shortcodes/columns/

Hope this helps

So the page you sent me to says you can add inline styles but does not list them. Is there a list of the styles and the correct syntax anywhere?

Hello Mike,

The inline CSS is not specific to X. Basically, you can add any inline CSS to the style attribute.

To read more about inline CSS, please check here:

https://www.w3schools.com/css/css_howto.asp

Hope this helps.

Thank you. All set.

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.