Archived

This topic is now archived and is closed to further replies.

  • 0

Background image over header under brandnav over body background image


Question

Posted · Report post

I have a green background image in the body and a white colored header.

 

body{background: url(".../bg-copy1.png") repeat-x scroll 0 0 #82B64A;
  color: #EEEEEE;}

 

#header {background: #ffffff;}
 

I am wanting to put another image over the white header and over the original background image in the body. I have been able to get it in the brandnav section but I can't seem to extend it into the content area, while leaving the header in place.... any thoughts?

 

I'm trying to accomplish something like this, just with a white header...

http://www.emotionslive.co.uk/

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Ok, so I ended up getting rid of the header color, and making that color part of my repeating background image and then I added a second layer background. This overall works, but I can't seem to get my second background image to resize responsively, any thoughts?

Share this post


Link to post
Share on other sites

Posted · Report post

ardentconcepts.com/TRTest/

 

-its got a redirect going on make sure est is lowercase if you click to follow

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there,

 

If you set the width and height of the image using a % width rather than a static px figure it should resize responsively for you.

Share this post


Link to post
Share on other sites

Posted · Report post

Ok looking at the inspirational site compared to your site I would say the best way to create that effect would be to use a hook to insert the image in a new div into the html or header div of the page, then use css to position it on top.

 

If you've not used hooks before check out - http://support.pagelines.me/docs/customization/hooks/

 

The hooker plugin will be the easiest option if you're part of the Plus membership this plugin is free.

 

Another post which shows this affect but on the feature slider can be found here for reference if needed - http://www.pagelines.com/forum/topic/26011-static-image-over-feature-slider/

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, I would imagine from what you've wrote the header is being cut off. I would say try adjusting the padding/margin for the bottom of the header to allow the image to show further down the page. We'd really need to see a live version to advise further. That way we can see exactly whats happening on the page and what adjustments to make to get the effect you want.

Share this post


Link to post
Share on other sites