how to change body background image in ResponsiveThemeMachine

Topics: Customizing Orchard, General, Writing themes
Dec 10, 2012 at 3:40 PM
Edited Dec 10, 2012 at 3:48 PM

Hello folks,

I was unable to change the background image on this theme.. Can anyone assist me with this

I placed the image in Media/Default/images folder would appreciate your assistance.

 

body{ background-image: url('..\..\Media\Default\images\background.gif');}

 

 No matter what I did this did not work.

thanks

Dec 10, 2012 at 3:55 PM
Edited Dec 10, 2012 at 3:55 PM
Sarkash wrote:

Hello folks,

I was unable to change the background image on this theme.. Can anyone assist me with this

I placed the image in Media/Default/images folder would appreciate your assistance.

 

body{ background-image: url('..\..\Media\Default\images\background.gif');}

 

 No matter what I did this did not work.

thanks

Instead of putting the Image inside the Media folder..you can create an images folder within the ResponsiveThemeMachine's folder and put the bg image there.

body{ background-image: url('images/background.gif');}

 

Dec 10, 2012 at 8:38 PM

I need admin to have control over this folder as admin can control images in Media folder. Full path so far is the solution.. Not a good one, looking for further assistance.

 

Thanks

Dec 11, 2012 at 2:28 AM
Edited Dec 11, 2012 at 2:29 AM
Sarkash wrote:

I need admin to have control over this folder as admin can control images in Media folder. Full path so far is the solution.. Not a good one, looking for further assistance.

 

Thanks

background-image: url("/Media/Default/Image/Abhishek Luv.png");