Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: meirav on July 27, 2015, 05:00:33 PM

Title: Re: SMF 2.1 Default Theme
Post by: meirav on July 27, 2015, 05:00:33 PM
I'm trying to add a background image to the main content area, not the full background. I've tried adding it to #wrapper and #main_content_area, and the preview shows the background; however, when I save, it's not visible on the actual site. Where do I need to attach the background image? Is there something I need to add in addition to

background-image: url('someurl.png');

where some url = the actual location of the background?
Title: Re: Re: SMF 2.1 Default Theme
Post by: Diego Andrés on July 27, 2015, 08:57:08 PM
should be url('../images/image.png')
Title: Re: Re: SMF 2.1 Default Theme
Post by: meirav on July 28, 2015, 02:20:58 AM
I'll move it there and see whether it makes a difference. Thanks.
Title: Re: Re: SMF 2.1 Default Theme
Post by: meirav on July 28, 2015, 02:32:06 AM
nope.
Title: Re: Re: SMF 2.1 Default Theme
Post by: Illori on July 28, 2015, 05:09:53 AM
you really should not be using the editor in the admin panel. download the file and edit it manually and upload it again. it is possible that your edit is not being saved in the file.
Title: Re: SMF 2.1 Default Theme
Post by: meirav on July 28, 2015, 09:49:58 PM
Great advice. The file was being saved, but it was so much more convenient searching in the text editor, rather than with the browser search function.