SimplePortal

Customization => Custom Coding => Topic started by: lg965 on August 02, 2013, 07:32:32 AM

Title: background image in a simpleportal html page
Post by: lg965 on August 02, 2013, 07:32:32 AM
How should I do?

thanks a lot

Title: Re: background image in a simpleportal html page
Post by: Burke Knight on August 02, 2013, 08:59:30 PM
At the beginning of the code, if using html block, add the following code.
Change the url_of_image.ext part to the url of your image.

Code: [Select]
<div  style="background-image:url(url_of_image.ext); background-repeat:no-repeat">
If want it tiled:

Code: [Select]
<div  style="background-image:url(url_of_image.ext)">
Then in the Style Options section, check No Body.
Title: Re: background image in a simpleportal html page
Post by: lg965 on August 03, 2013, 09:16:05 AM
I always say, you can do everything with computers. you just have to know how to do!

Thanks guy!
SimplePortal 2.3.8 © 2008-2024, SimplePortal