WordPress.org

Ready to get started?Download WordPress

Forums

Switching themes questions (4 posts)

  1. planetphillip
    Member
    Posted 8 years ago #

    Hi,
    I’m planning a site redesign soon and have a question regarding switching themes. What I want to do is have 4 basic themes;
    Left menu / fixed width
    Left menu / fluid width
    Right menu / fixed width and
    Right menu / fluid width.

    If I understand how the themes work I need to create a different CCS for each theme. So far, so go. But I then have to duplicate all the other files and place them in separate folders within my “wp-content/theme/� folder. This seems a waste of space and time. If I decide to make a small change to one theme then I have to make four changes. Obviously I’m not talking about changes that can be made with CSS, I’m thinking more about the layout of the sidebar or something.

    I would also like to have a number of independent colour options, so a user can chose “dark� with a right fluid menu. Does that then require another theme folder?

    Have I completely misunderstood or is there a better way to accomplish my goal?

    One a side note, I’m planning to separate the CSS as much as possible into reusable sections and then simply import parts into the relevant CSS, does anybody have any advice about this?

    TIA

  2. Beel
    Member
    Posted 8 years ago #

    Sounds like you need Alex's style switcher. I use it on my classic theme.

  3. planetphillip
    Member
    Posted 8 years ago #

    Thanks, I'll check it out.

  4. moshu
    Member
    Posted 8 years ago #

    Another way is that you have only the stylesheet in the "theme folder" (and eventually images - if any) and on the top of the stylesheet you define wich template to use:
    /*
    Template: basictheme
    Theme Name: LeftFluid
    Description: 3 column fluid - dark
    Author: by planetphillip
    Author URI: http://yoursite.com
    */

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags