Hacking my layout around
2009-Apr-16, Thursday 23:41So, following a few how-tos and some half remembered tricks from last time I messed around with my LJ layout, I've hacked into the Zesty theme and done some surgery to it.
ETA: I'm not currently using the Zesty layout, you can see where I got to here:
http://matgb.dreamwidth.org/?s2id=5702 and read this entry using it here:
http://matgb.dreamwidth.org/359787.html?s2id=5702
Firstly, I added in some code to let me define an off-site stylesheet (which I'm hosting in a Wordpress theme on my server as I can edit it online easily, a trick I'll build on I think).
Then I took out all of the "theme" CSS from the layout code and saved that in a seperate file. Now I'm adding in CSS from my normal colour scheme, slowly, in order to try to get the general look and feel of my LJ layout, but improving on it based around stuff I've learnt since I last did it.
Seems to be going OK so far, I have at least got a bearably readable friends page—it'd be nice if one of the themes available during Beta wasn't a white background, it was giving me headaches and I'm nowhere near as bad as some are.
I plan to write up a how-to anyway, would people be interested in full source for it? I've always found fiddling around with S2 to be more effort than its worth, hence the need to get a stylesheet I could edit ASAP. I reckon it'd definitely be worth getting the codebase for Zesty (and eventually Negatives for SB) into a styleable position, but I'm guessing I'm doubling up some work already being done.
Ah well. Haven't done proper code hacking for ages—it's still a bit flaky, need to finish some tweaks just on what I've managed.
If anyone can figure out how I can get my header to shrink down a bit, or how to get the navigation menu over to the right of the page, I'd be grateful.
And I do plan to get back to this layout at some point, I'm currently using just Core2 with my own stylesheet, I like it.
ETA: I'm not currently using the Zesty layout, you can see where I got to here:
http://matgb.dreamwidth.org/?s2id=5702 and read this entry using it here:
http://matgb.dreamwidth.org/359787.html?s2id=5702
Firstly, I added in some code to let me define an off-site stylesheet (which I'm hosting in a Wordpress theme on my server as I can edit it online easily, a trick I'll build on I think).
Then I took out all of the "theme" CSS from the layout code and saved that in a seperate file. Now I'm adding in CSS from my normal colour scheme, slowly, in order to try to get the general look and feel of my LJ layout, but improving on it based around stuff I've learnt since I last did it.
Seems to be going OK so far, I have at least got a bearably readable friends page—it'd be nice if one of the themes available during Beta wasn't a white background, it was giving me headaches and I'm nowhere near as bad as some are.
I plan to write up a how-to anyway, would people be interested in full source for it? I've always found fiddling around with S2 to be more effort than its worth, hence the need to get a stylesheet I could edit ASAP. I reckon it'd definitely be worth getting the codebase for Zesty (and eventually Negatives for SB) into a styleable position, but I'm guessing I'm doubling up some work already being done.
Ah well. Haven't done proper code hacking for ages—it's still a bit flaky, need to finish some tweaks just on what I've managed.
If anyone can figure out how I can get my header to shrink down a bit, or how to get the navigation menu over to the right of the page, I'd be grateful.
And I do plan to get back to this layout at some point, I'm currently using just Core2 with my own stylesheet, I like it.