• Resolved gholbrow

    (@gholbrow)


    The betterphysics.org site looks fine on every page except the posts page, called “Recent Posts,” which seems to have no css text formatting. If I make the home page the posts page, it still has no text formatting. I am using a child theme of Twenty Seventeen, but the problem is the same when I deactivate the child theme, or if I switch to Twenty Sixteen or Twenty Fifteen. I started trying random themes, and the only one I found that didn’t have this problem was “Blossom Feminine,” go figure. Any suggestions on how to get this page to use the css formatting?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please make your site visible. I see a coming soon page.

    Thread Starter gholbrow

    (@gholbrow)

    Whoops, sorry, that was a Bluehost option I was unaware of. Should be visible now.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I see 3 missing images on the blog page, but what I see that seems to be the problem is that you have a lot of inline CSS. Did you copy/paste this content from someplace else? It seems to have picked up the styling form the original source.

    Select the text in question in each post and click the little eraser icon to remove all the inline formatting.

    See https://i.imgur.com/0Nw2iVM.png

    The problem is too much CSS, not no CSS.

    Thread Starter gholbrow

    (@gholbrow)

    Should have also mentioned that turning any other page into the posts page yields the same result.

    Thread Starter gholbrow

    (@gholbrow)

    I’m aware of the pasted-in css in the content, but that is not the problem. The site title, subtitle, menus, post titles, etc,. all lose their formatting. If you click on a post-title, date, etc,. and view the single post, the formatting is as it should be. I’ve made that long pre-formatted post private to remove it from the confusion. Thank you for looking.

    Thread Starter gholbrow

    (@gholbrow)

    For comparison, the Materials menu item is a category page, and formatting works okay for everything there.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’m not seeing the cause.

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://www.ads-software.com/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter gholbrow

    (@gholbrow)

    I disabled all plugins and tried it default themes 2015-17 with no success.
    Whatever page became the posts page lost its formatting.

    Next, I made a new index.php for the child theme and tried copying and editing some of the php from the beginning of my category.php page into it, since the category page worked. At some point the Recent Posts page appeared properly, but at that point it was identical to Twentyseventeen index.php, and after I disabled the child index.php, the page still appeared correctly. So the frustrating mystery was never solved, but now the formatting is mysteriously correct. I’ll take what I can get.

    Thank you for giving it your attention.

    Thread Starter gholbrow

    (@gholbrow)

    Finally found what was breaking the styling: when all inline styling from content was removed, everything works as it should.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No css on posts page across multiple themes’ is closed to new replies.