WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Home page css (11 posts)

  1. vapor99
    Member
    Posted 1 year ago #

    I have noticed on several different themes, that they have like a "default" home page. This is set to display a list of post by default. If I create a page called home, then changes the settings to make it my front page, I loose some css that the rest of my pages have. If i select a different page as frontpage, its fine. Is it something to do with the name of the page being "home". Or even better, how do I edit the "default" home pages that some themes have.

  2. Chip Bennett
    Theme Review Admin
    Posted 1 year ago #

    What Theme are you using?

  3. vapor99
    Member
    Posted 1 year ago #

    this time around it happens to be the Twenty Eleven. But it happens with other themes too. When I create a page called "home" and set it has the "static front-page" it looses the formatting of the rest of my pages.

  4. Chip Bennett
    Theme Review Admin
    Posted 1 year ago #

    "Home" is a reserved name in the WordPress template hierarchy, but in this case it shouldn't be causing a problem.

    Just to verify: you're creating a static page, with the title "Home"?

    If so, what happens if you create a static page, with the title "Foobar"? If you assign it as the site front page, do you observe the same behavior?

  5. vapor99
    Member
    Posted 1 year ago #

    No, thats actually how i was able to work around it. If i name it something else, and assign it the "static front-page" it will work fine.

  6. Chip Bennett
    Theme Review Admin
    Posted 1 year ago #

    Can you show a live example of the changed CSS in effect?

  7. vapor99
    Member
    Posted 1 year ago #

    no not at this time,working on local here

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Can you provide your HTML and CSS for one relevant webpage through PasteBin and post here the PasteBin link(s)?

  9. Chip Bennett
    Theme Review Admin
    Posted 1 year ago #

    Can you give me some ideas of what selectors are impacted, e.g. using Chrome Developer Tools, or Firefox Firebug?

    I suspect that the culprit selector is a CSS class on the HTML BODY tag.

  10. vapor99
    Member
    Posted 1 year ago #

    na, i got it thanks guys

  11. Chip Bennett
    Theme Review Admin
    Posted 1 year ago #

    Great!

    Would you mind posting your solution?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.