wordpress question

Status
Not open for further replies.

pileofcrap

New member
Oct 17, 2006
569
2
0
Atlanta, GA
Robusto Review

ok on the main page, the control panel side bar is perfect. Now click a category, archive, or make the site 404... that side bar pushes down and I cannot figure out why. As far as I can tell there's no code anywhere that should be causing that.

does anyone have any insight?
 


You have some errors in your css. So try to fix them first.

This error could be the cause (and there are other errors too):

Code:
#sidebar h2 {
    margin: 5px 0 0;
    padding: 0;
    }
Margin values should be declared like this:

margin: top right bottom left;

So fix that like this:

Code:
#sidebar h2 {
    margin: 5px 0 0 0;
    padding: 0;
    }
 
just tried and it didn't work. I applied the same idea to other portions that were incomplete like that and no go. What has me stumped is why on the main page, pages, and entries does it work and the others it doesn't? The other pages are actually less complex....
 
try now I was looking at a different theme. it's back. it's doing it in both for me.

By the way to 'validate' CSS you can use this...
The W3C CSS Validation Service

To validate the html/xhtml you can use this.
The W3C Markup Validation Service

while being 100% validated isn't going to fix everything in every browser, it does in some cases help track down problem areas when you do have some validation errors (being validated means you're closer to having fewer problems in every browser and more likely to have the content match up in all [compliant] browsers).

Your new theme doesn't seem to be able to validate due to a mismatch in the character set type.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.robustoreview.com%2F&charset=(detect+automatically)&doctype=Inline&group=0
(when I refreshed it showed 4 errors, mainly with not closing a ul tag, also when you're dealing with xhml, you can't have a single tag like <br> you need to do <br/> or have an opening and closing such as <a>...</a>)

One thing to keep in mind for SEO purposes is that search engines, bots, spiders and what not need to be able to parse a document. If they can't parse the page much like how the validator wasn't able to, then its possible the site won't get indexed by search engines or least some of them. (I'd imagine at the very least that google bot is smarter than that).
 
Ive decided and stop customizing this theme and shop around at some of the great free ones. and do a little more search with the above links.

thanks for the help guys
 
I still don't see it doing anything odd but...
Something is probably wider than it's container. Try knocking down the margin of your sidebar a pix or two at a time and see if it still does it.
 
I think your category.php is screwed up since they're missing some div's. You might check this and fix these errors. Good luck.
 
Status
Not open for further replies.