is there any way a footer image can be used that will fill the width of the browser, similar to the banner image? It only needs to be 50px high, but needs to fill the width. Using an image as a stack at the bottom of the page isn't what Im after because it only fills the width of the body, not the whole window.
Comments
1) Add an image to Resources and add the following code in the Footer section of RW's Setup popup window:
2) Then, add the following in Page Inspector>Header>CSS:
Adjust the height as needed...
Cheers,
Mauricio
Try adding also this style to Page Inspector>Header>CSS:
#footer img { width: 100%; }
Correct, the footer will repeat on every page because it's a site-wide setting.
If you want to use different images, you either need to modify the theme or use some jQuery "magic":
0) Scratch the previous solution
1) Add the following into Page Inspector>JavaScript:
jQuery(document).ready(function(){ jQuery('#footer').append('<div class="thinfooter"><img src="%resource(myfooter1.jpg)%" /></div>'); });2) Then add the following style in Page Inspector>Header>CSS:
You would repeat steps 1 and 2 on each page and replace myfooter1.jpg with a different footer image.
This solution preserves the standard footer and places the image below it. If you want the image to go above the standard footer, just replace the keyword 'append' with 'prepend'.
Cheers,
Mauricio
#aboveNav, #belowNav{ background-image: url(%resource(banners/banner14.jpg)%);
I placed your code in the javascript section, changing the image name to my image in resources "banners/banner14footer.jpeg".
The image is placed, but if I place the header/css code below the code for the header the footer is placed up to the left of the window, but ends at the right hand main body margin. Ive attached an image with background image changed to white to show the footer. The height can be changed.
If I place the header/css code above the banner image code, the footer is placed within the body area with a margin at both ends, and the height parameter has no effect.
Do you have any idea what could be going on?
Thanks again for your help
PS: by the way, we are still talking about the Carbon theme, correct?
Yes its the carbon theme.
The small stuff is not always "visible" from a screenshot... My suggestion would be for you to email me your actual RW project, including your images to msabene at rwextras dot com so that I can see it first-hand.
Cheers,
Mauricio
Did you find the solution in the end?