Board Thread:The Editors Board (aka Todo)/@comment-4629185-20150701031935/@comment-26468544-20150702000824

Circuitsmith wrote:


 * Background image tiled; looks kinda ugly. Possible to center a single image?


 * Sigrid and Majid don't have their respective backgrounds; uploaded appropriate background image for Sigrid, but have no idea how to apply it.


 * Large resolution windows lag quite a bit, especially on pages with custom background.


 * pages with custom background move, whereas default doesn't. Either way works for me, so long as it's consistent across all background images.


 * As it is now, if we use the CSS way, which I'll describe last in this post, we have to remove the current admin background via the admin tools. Then it'll all be an image that is unmoving and untiled  with a gradient.


 * Will describe process last


 * Yeah, I have a feeling that's the gradients fault. Might be unfixable in which case just revert to the admin way of adding a bkg picture and remove the CSS, also explained in the end how to. I'll see if I can come up with a fix for it.

How does the custom bkg's work:
 * Actually the default is the one moving with the scroll, the custom ones are static. ;P It does so because it's set like that via the admin controls.

In order to make a custom bkg you have to change the CSS in the css menu thingy whatever. I've added the following in the code: /* Interchangeable Backgrounds*/ Under this comment you'll find a commented out piece of code, where there's a lot of text. But the only part that needs to be changed is the url and the pageID, all of that text is just to make sure it works on as many browsers as possible. Underneath that are the two already put in examples showing where it works.

All that doesn't matter though, if we use the one that moves with the scroll wheel. In that case, we just remove all that's below /* Interchangeable Backgrounds*/ and set it via the admin tools. That's the easy way out, no lag, no custom images on specific subsites, no gradient. Honestly I think it looks decent, although the tiling is a problem. But it's definitely a possible temporary fix untill I can come up with some other way that might not lag as much.

Edit: Also it's almost 2.30am here and I'm probably heading to bed soon. Just so you don't think I've abandoned you just after you implement it all. (Although that's kinda what I'm doing I just have an excuse.)