Clark_Varner wants to display after header content only on the landing page, but is having trouble since the landing page’s body class is blank. pmusaraj suggests using body[class=""] as a selector, but this doesn’t work for Clark_Varner.
simon notes that the body class on the homepage may not be blank, but instead contain classes like .navigation-categories or .navigation-topics depending on the page’s content. Clark_Varner eventually finds a solution by referencing all other body classes instead, as described in an article on meta.discourse.org.
A guide on this topic is suggested, but has not been created yet, as noted by Hoàng_Anh_Đinh_Ngọc.
Thank’s for the response! Getting closer, however, I just tried it and it didn’t work. Can you show me how it would look in the context of my sample CSS?
I’m not finding the body class on the homepage to be blank. The classes that are present depend on whether or not there is a logged in user, but either the class navigation-categories or the class navigation-topics should be present.
If your homepage is displaying categories, you may be able to target that page with .navigation-categories. If your homepage is displaying the latest topics, targeting it with CSS may be difficult, because navigation-topics will appear on the latest, top, and unread pages.