https://johnranger.ca/My%20Past.html
The background image is stable but all pictures and sript move up and down. Can I do this with my version of Xara?
If so how please
Printable View
https://johnranger.ca/My%20Past.html
The background image is stable but all pictures and sript move up and down. Can I do this with my version of Xara?
If so how please
Yes.
Import the image you want to use as the static background
Delete it. (It still remains in the bitmap gallery)
Open the Bitmap Gallery and select this image.
On the top menu of the Gallery select 'Background'
Choose 'Page'
In the P & L gallery open the page background
Right click the image, select Web Sticky/Stretchy
Set up as per attachment.
EDIT: That should be Stick to top NOT Sticky!
Preview
:)
Fantastic Thank you very much
I can't find................. Right click the image, select Web Sticky/Stretchy
Are you sure I can do this with version 7.1??
for earlier Xara applications, I think you can add this CSS to the Website HTML Code (head) for Vertical Supersites:
for any image you have set as the Pasteboard background.Quote:
<style>
.xr_bgb0 { /* Set background image to fixed (don't scroll along with the page) */
background-attachment: fixed;
}
</style>
You probably need it in each Page HTML code (head) for Conventional sites.
You also might need to check in index_htm_files\ xr_main.css to check .xr_bgb0 is the right class.
Acorn
P.S. I am sure i did all this a better way years ago and put it in TG, so if anyone finds it, help us out.
will try thanks
Sorry to say that did not work :( Also tried
body {
background-position: center;
background-image: url(../ranger\index_htm_files\0.png);
background-attachment: fixed;
}
================================================== =
body { background:url(ranger\index_htm_files\0.png) top right no-repeat; background-attachment:fixed; }
Was this the one you're referring too Acorn?
Ack. I responded to this thread and my post did not get posted. (Would not be surprised if I had already left the page). You can get a copy of WD 11 on eBay for under $20 US and then this will be an easy process, plus you get web animation and sticky objects that remain on the same place on the page.
@egg, thanks for looking but not that.
Here is a XDPX15 conventional page that should work in WD7: Attachment 120240
The CSS is in he Page code (head).
If you example the index page source, you will find <body class="xr_bgb0"> or similar, which needs to line up with the CSS code
(<style>
.xr_bgb0 {
/* Set background image to fixed (don't scroll along with the page) */
background-attachment: fixed;
}
</style>).
Acorn