Game got switched. Pass the noobsauce plz?
November 11, 2009 9:04 AM
Subscribe
I suck at wordpress. Should I start over or can someone help me fix this?
I do a lot of hardware repair for side money here, and recently had an established customer ask me to do a site for her daughter. I thought it would be extremely simple, and it was. I did a typical wordpress install and modified the heck out of a template I found somewhere to make it match her colors/logo/etc. I don't usually do web work because it's not my strongsuit.
So I'm doing all this in a sandbox site (live, but not at her .com) and thinking its coming together fine. Top menu, 4 pages, nice gradient, etc. This was originally a right-side menu template, and I've taken all the right column out because it's unnecessary. (blogroll, rss, etc.)
Today I get a call that she loves all of it but she wants the menu down the left side. This was a right/top menu template. I'm in waaay over my head trying to figure out how to chop it up. I've looked at the css, and there's nothing in there that declares positions---only widths. I looked in the wordpress themes settings and there's no place to move the menu left. I've played around in the index moving the php calls to alternate locations and the page doesn't change (or doesn't change significantly.) Changing the sidebar.php to "left column" instead of "right column" puts the menu at the bottom of the body, because the body is the left column.
So I'm assuming the only real way to fix this is to figure out how to resize the columns and move the body to the right and the menu to the left...unless I'm overthinking it?
Happy to share the live-site address and assorted template files if anyone out there in mefi land is willing to take a peek. Otherwise I'll just start modifying a left-column template. Grrr.
posted by TomMelee to computers & internet (22 comments total)
5 users marked this as a favorite
Any of us who do this for a living can probably Firebug it and see what's actually happening, and in the meantime, I'd suggest you install Firebug for Firefox.
It's a plugin that will allow you to analyze what styles are being applied to each and every element on the site, and determine which CSS file that style is coming from. You can also change the styles LIVE on the rendered page to make quick changes without altering the file on the server, just to see if simple tweaks will fix things. It's a bit of a trick at first, but it's an invaluable tool for this sort of debugging.
There's probably some div with a width or a float set somewhere that you're just not able to see no matter how hard you're staring at this. Firebug will show you EXACTLY what's being applied and will outline the elements so you can track down just which bastard is causing you trouble.
CSS-based layouts used to be an interminable nightmare as browsers' handling of DIVs were inconsistent and everyone mocks if you use the obsoleted, boring table for layout. DIVs still cause this pain, but Firebug shines light on the darkness. (In a pinch, hitting F12 in IE 8 will bring up their Developer Tools which sorta offer some of the same functionality, but not really.)
posted by disillusioned at 9:18 AM on November 11