Join a conversation, pose a question, or help a fellow user: The best place to discuss all things Karelia.
You are not logged in.
New to Sandvox. Is it possible and how do I make a full size .jpg image the background to a template and insert text for site around this background image?
Thanks for any help.
Offline
what design are you using?
Offline
You could just drag in an image, resize it to be rather large, and then use the Wrap inspector (command-3) to change how text wraps around it, if I understand what you're asking.
Offline
I think what is being asked here is something that is standard in iWeb. You can select a jpeg which is tiled to become the entire background of your site & a second one for the browser. I can not seem to find a way to do this in Sandvox. Anyone else?
Offline
I see. Complete background images are not yet supported in Sandvox. Originally Sandvox sites were quite tied to the design chosen for them. We do understand that people want even more flexibility and are looking at that.
Offline
I'd like to see this feature available in Sandvox, too. It's the only thing I really miss in the transition from iWeb.
Offline
Hear, hear. I'd like to see that too. As well as some type of feature similar to Apple's "instant alpha" to mask transparency on images.
Offline
As a temporary measure this *should* give you a similar appearance to iWeb.
This assumes you're comfortable with manually uploading and specifying a background graphic but not comfortable modifying a theme.
It has to be done on a page by page basis.
In Sandvox, add in raw HTML of type Javascript somewhere on your page and include the following:
<script type="text/javascript"><!--
function setMyBackground(myBackgroundURL) {
var b = document.getElementsByTagName("body")[0].style;
b.backgroundImage = "url(" + myBackgroundURL + ")";
b.backgroundRepeat = "repeat";
b.backgroundAttachment = "scroll";
b.backgroundPosition = "top left";
b.margin = "0pt";
}
setMyBackground( "" ); // BETWEEN THE QUOTES, ADD THE URL OF THE DESIRED BACKGROUND ON YOUR WEBSITE
--></script>
Let me know if this doesn't work for you.
Use at own risk :)
Edit:- I've added a javascript HTML tag to the above. It would be nice to have this 'wrapper' automatically added upon publish, when you have selected the Javascript type of raw HTML (unless the user has already created it manually, of course!).
Last edited by akingdom (August 2, 2012 1:21 pm)
Offline
Many thanks - I'll try that tonight.
Offline
You can use an image for the site-wide background simply by adding it to the CSS "body" class, and putting the image file into the plugins "design name" folder.
Of course, you should make a COPY of the desired design to modify, and modify it appropriately as explained in Sandvox Help:
http://www.karelia.com/sandvox/help/z/Q … signs.html
Sean
Offline