• Hi, I hope someone will respond to my question (unlike the last time I posted). I have two pages, “home” (static) and “News and Announcements” (posts page)that are both using a home.php template I created. The news and announcements page looks nearly perfect, but the home page is not right. see: https://velocityvolleyballclub.org/news-and-announcements/ and https://velocityvolleyballclub.org/ I do not understand how this is possible, if they’re both running from the same page template? Is there something I need to change in functions.php or style.css to have them display correctly? I can provide more detail, but wanted to be brief. THANKS for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The problem is most definitely in` your styles. And here’s where:
    line 242

    .custom-layouts.singular #content {
        margin: 0 7.6%;
        position: relative;
        width: auto;
    }

    Is overriding your width and margin settings that you have for the #content element on your homepage, line 152:

    .three-column #content {
        margin: 0 34% 0 26.4%;
        width: 40.4%;
    }

    Thread Starter mpmacken

    (@mpmacken)

    Thanks! So which do I need to change?

    The first one is the one on the messed up page.

    Thread Starter mpmacken

    (@mpmacken)

    Hum, that seems odd to me, because the first one is supposed to be for a custom layout, like if I choose a one-column template, there are several “custom” layout options in my stylesheet, but those aren’t interfering? What is incorrect about the first one, that is making is mess up my three-column template page? THANKS!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with page template, shows differently on different pages’ is closed to new replies.