WordPress.org

Support

Support » Themes and Templates » [Resolved] Template shifts left a few pixels on single post

[Resolved] Template shifts left a few pixels on single post

  • Okay,
    I’m working on skinning a template (actually, just the default one) for a client site, and it’s doing something funny.

    Load up the main page:
    http://www.orosend.com/joomla/blog/
    then click the post. Notice how the “page” div moves left a few pixels? Any idea why? Firebug shows that the .css isn’t changing (at least not as far as I can see), and there doesn’t seem to be any validation problems (none that should affect that, anyways).

    I can post code from whatever files are helpful. Any help is appreciated, I’m no noob to .css, PHP and skinning CMS templates, but this one is giving me heart-ache.

    Thanks, Chris.

Viewing 2 replies - 1 through 2 (of 2 total)
  • there is a display problem in IE7, on single.php:

    caused by the negative margin:

    .widecolumn {
    	float: left;
    	padding: 0 0 20px 5px;
    	margin: -53px 0 0 5px; /*165px*/
    	width: 450px;
    	}

    to your question: rock solid – no horizontal shift between index.php and single.php in IE7 and firefox3.5.8;

    check on your monitor if the vertical scroll bar kicks in on the longer single.php.

    alchymyth,
    Thanks for the quick reply. I hadn’t even started working it in IE yet, I knew the negative margins would need to be hacked a bit.

    Oh dear, of course, the scroll-bar. Always spending too much time looking for a complicated solution when the answer is so damn obvious…..

    Thanks so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Template shifts left a few pixels on single post’ is closed to new replies.
Skip to toolbar