Can I specify a different style sheet for Two columns, sidebar on the right Page Template

  • headly

    #8652

    When I design a website the home page typically uses a slightly different layout than the inside pages (not using graphene slider, layerslider or other plugin). I’m wondering if there’s any way to call a different style sheet in the template-twocolumnsleft.php file or make the header.php conditionally show different stylesheets based on the page’s template. TIA

    Mod

    Kenneth John Odle

    #41711
    Quote:
    When I design a website the home page typically uses a slightly different layout than the inside pages (not using graphene slider, layerslider or other plugin).

    The only difference is the presence of the slider and the front page widgets. Other than that, everything is the same. You can make the slider appear on other pages than the front, or you can make it appear on all pages.

    I’m not quite sure exactly what you are trying to do. Could you link to a front page and an inside page that are different and explain how you would like them to look?

    headly

    #41712

    Thank you for your follow up; What i mean is that my home page is usually a 1 column layout. The layerslider (plugin) is in the page proper. In the body tag of the home page i want color outside the container (horizontal bands) so i stick a thin tall vertical jpg in body that repeats-x. Now on the inside pages i use the 2 column template but there is no slider anywhere so I want the header to be narrower (less tall in vertical height). In pixels, the home page has a 320 pixel band below the header, but the inside pages only need a 120 pixel band below the header (in either case the band stretches outside the container). TIA.

    Mod

    Kenneth John Odle

    #41713
    Quote:
    Could you link to a front page and an inside page that are different

    This is the most helpful thing you could do.

    I’m still not entirely clear about what you need, but I am starting to doubt that you need separate style sheets. You might want to take a look at this post

    http://blog.kjodle.net/2012/02/24/styling-wordpress-posts-pages-archives-and-home-pages-by-class/

    and see if you can use that technique to achieve what you are aiming for.

Viewing 4 posts - 1 through 4 (of 4 total)

  • You must be logged in to reply to this topic.