ThemeShaper Forums » Thematic

[closed]

Class "home" dropped. Wordpress/Thematic bug?

(2 posts)
  • Started 4 years ago by Tomakun
  • Latest reply from Chris
  • This topic is not resolved
  1. Hi guys,
    I just ran into a very strange issue.

    Without touching any of my templates, I went to the Reading settings of WP 2.9.1, and changed the "Blog pages show at most" X posts setting. I just wanted to see how the page would look with one or two posts more showing in the list.

    Refreshed my browser, and all my site layout was messed up. I figured this was a CSS issue, and looking at the code with firebug, realized that the home class was missing from the body tag. How come?

    How changing the "blog pages show at most X posts" setting could cause the body home class to be dropped? Does Thematic interpreted things differently after changing that setting?

    Reverting the setting didn't help. I had to edit my CSS and apply all my .home classes rules to another .blog element... which is just not right.

    Can you guys think of anything? body tag home class is still missing after I had touched that setting.

    Posted 4 years ago #
  2. Weird.

    Thematic is using is_front_page() to create the body class .home and I have no idea why the conditional tag should react in such a strange way on changing the number of posts.

    Would need some more details: WP version, Thematic version, and email your child theme to chris (at) wupperpiraten (dot) de

    Chris

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.