News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Re: SMF 2.1 Default Theme

Started by meirav, July 27, 2015, 05:00:33 PM

Previous topic - Next topic

meirav

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?

Diego Andrés

should be url('../images/image.png')

SMF Tricks - Free & Premium Responsive Themes for SMF.

meirav

I'll move it there and see whether it makes a difference. Thanks.

meirav


Illori

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.

meirav

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.

Advertisement: