WordPress.org

Support

Support » Themes and Templates » Separate CSS File For One Page

Separate CSS File For One Page

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you say “single page” are you referring to a Page or a “single post”? (the word ‘single’ which is always used with posts… makes it confusing)

    Actually, you do NOT need a separate CSS – just have different divs in that template of yours and add their definitions to your normal CSS file.

    I’m attempting exactly the same thing – I have 3 columns and because I’m trying to install an Amazon aStore, I need to drop my right hand column (on one page only) to replace it with Amazon’s column to navigate the store pages.

    I’ve made a page template file by naming the file and pasting the rest of the code from “page.php”. I’ve deleted the right hand column sucessfully but I have two issues that still need to be addressed:

    The new page still only spreads across the middle section of the page (and doesn’t fill the space left by the right sidebar)

    For some reason there are extra navigation tabs showing where they shouldn’t be. (Using my usual template when there are too many pages to be allocated individual tabs, the extra pages simply don’t show – on my template pages, they’re visible on the page)

    I don’t know how to address these problems but if anyone can suggest some coding, I’m great at cutting and pasting!
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Separate CSS File For One Page’ is closed to new replies.