• Resolved johnnyflash

    (@johnnyflash)


    For some reason my sub-site home pages are not displaying the selected template correctly. For example, on my main site I have this page created:
    http://www.chantillysports.com/ministries/youth/ and set to use the “Default Template” – notice everything displays correctly on the left sub-nav (brown background, and the sub-nav on the left).

    However, in my sub-site, when I have “Default Template” selected for the home page: http://www.chantillysports.com/youth/ – it doesn’t show the brown background and the left-sub nav is pushed down. How do I get this sub-site home page to look like an ordinary page?

    For the record, my main site home page is using the “Home” template. For my sub-site home page, I have “Default Template” selected. Thought that would be enough to get the correct template to be used.

    Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    On http://www.chantillysports.com/ministries/youth/ it works because you have this in your CSS:

    .subpage1 #content {
    float: right;
    padding: 0 26px 0 0;
    width: 687px;
    }

    You also have this:

    .subpage1 .main-c {
    background: url("images/bg-container2.jpg") repeat-y;
    padding: 0;
    width: 100%;
    }

    The ‘subpage1’ call is what’s breaking it. Or rather, by defining that, you restrict the css to only pages that are subpages 🙂 If you want it on all pages, you should remove .subpage1 from both of those.

    Thread Starter johnnyflash

    (@johnnyflash)

    Thanks so much! I made some tweaks to the css and all is working now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sub-site home page not display selected template correctly’ is closed to new replies.