• I’m having weird problems every time I load a page that calls comments.php (e.g. single post page). For one thing, the text in my sidebar is smaller than it is on any other page. When I look at the code, it says <small> </small> in a lot of places, but I cannot tell why this is happening only on pages with comments, nor do I know how to fix it.

    I suspect something is wrong with my comments.php template (it was copied and pasted from Kubrick into my theme), because my header is also not working properly on pages with comments.php. (Deleting comments.php in the template fixes the issues)

    My site is summertomato.com (very much under construction).

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi

    can’t see the PHP code from here, so not clear where those “small” tags are coming from.

    Short of debugging the whole thing, it appears you can use a workaround as follows. Put this near the bottom of your stylesheet.

    .sidecol small { font-size: 1em; }

    At some point you should find out what is introducing those smalls and fix it. Until then, this should resolve the problem. You can adjust 1em to .95em or 1.05em etc until you find the exact size you want.

    Thread Starter darya8

    (@darya8)

    Thank you.

    Does anyone have a suggestion about where to go to get help for something like this? I also have a header problem when I use comments.php. I have a suspicion these things are related.

    Cheers,
    darya

    Judging from the HTML Source of you page I’d say Your Comments.php template is missing a </small> tag on this line
    <p><small><strong>Want a picture next to your comment? looked at the page and the tag never closed. 98.4% sure that’s your problem.

    Thread Starter darya8

    (@darya8)

    plloi, I could kiss you!!! That definitely solved my my sidebar text problem. Thanks!

    Comments also seems to be disrupting the javascript function (sliding doors) on my header image menu (only on the pages with comments). Any suggestions?

    Thanks again!!

    Looks like the comment preview ajax script is interfering with it, I’m not sure where though…

    /me starts poking a little deeper

    Thread Starter darya8

    (@darya8)

    That is good to know. I am actually using a plugin for that feature. Maybe it would be wise to find a different one?

    Thread Starter darya8

    (@darya8)

    BTW, how do you know what is causing the problems? (In case you can’t tell, I’ve only been messing around with code for about 2 months).

    I’m Just looking at the rendered page HTML Output.
    you might wanna disable that plugin or uninstall it, if that fixes te problem them problem solved, if not you can always put it back.

    Thread Starter darya8

    (@darya8)

    Thanks plloi!! That fixed it ??

    np, Glad i could help

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Comments.php shrinks text in sidebar?’ is closed to new replies.