zenstrategist
asked 10 years ago

I have added a custom background image to the main div. On the default page template and many of the other page templates, everything works.

When I use the left sidebar-content page template, for example, the background only reaches as far as I have content.

If I use the default template it works fine.

Why does it work on some pages and not on others?

You can see this on the landing page of  http://www.wall4wishes.com/

 

2 Answers
DominicStaff
answered 10 years ago

Hello Zenstrategist !

To resolve your problems, you can log in to Dashboard > Theme > Customize > Custom Javascript. add the following code in the

see the screenshot: http://imgur.com/fmXNU8c

 
<script type="text/javascript">
  window.onload = function(){
      var wheight = jQuery(window).height();
      jQuery('.masonry').css('min-height', wheight+'px');
  }
</script>

Hope this help !
Regards,
Dominic

zenstrategist
replied 10 years ago

Thanks Dominic,

zenstrategist
replied 10 years ago

Thanks Dominic, I’m afraid the change hasn’t worked. My background still ends at the bottom of my content. Here is an example page, using the Fluid width template. http://www.wall4wishes.com/landing-page

DominicStaff
answered 10 years ago

Hello Zenstrategist !

Please, send for me username & password your site for further checking.

Regards,
Dominic

zenstrategist
replied 10 years ago

I’ve set you up as an admin user, please send me your email address as I can’t publish an admin account on here!

Dominic Staff
replied 10 years ago

Hi there !
My mail box: [email protected]
Regards,
Dominic

Powered by DW Question & Answer Pro