• Ok.. I figured this would be pretty simple, but for some reason ,it’s being a pain in the butt.

    What I want to do is customize the default theme to my liking.. I figured it would be simply just copying the ‘defualt’ folder under themes, renaming it, and editing away… well.. no.

    When I do that, it just dumps the whole stylesheet out in the description, author, version, etc. areas in the ‘presentation’ part, where I would change it.
    I changed all the info in the stylesheet.. author, version, description, etc, but still no luck. I figure this is just something stupid on my end, but for the life of me I can’t figure it out. Any help would be great!

    Thanks.

Viewing 14 replies - 16 through 29 (of 29 total)
  • Moderator James Huff

    (@macmanx)

    Very odd. If you haven’t, try changing it in WP’s Theme Editor.

    Thread Starter sagethepirate

    (@sagethepirate)

    Good idea, but no luck. In the dropdown, it dumps all the CSS, and if I select that as the theme to edit, it then says that theme doesn’t exist, and dumps all the CSS.

    If I upload the CSS file with no changes, just like the default, it doesn’t list it as a theme, it just shows the two themes, classic and default.

    Moderator James Huff

    (@macmanx)

    Just a random thought, but duplicate the default theme’s style.css, only change the theme name, and replace your new theme’s style.css with this one. Do not overwrite the two files. Delete the old style.css and upload the new one. Even if you have tried this before, try it one more time.

    Thread Starter sagethepirate

    (@sagethepirate)

    Ok. One sec..

    Thread Starter sagethepirate

    (@sagethepirate)

    Duplicated default theme. Renamed the folder. Deleted the style.css from that folder, and copiped the original default in. Changed the theme name. Uploaded.

    STILL dumps all the CSS.

    Moderator James Huff

    (@macmanx)

    ?? Can you upload and properly use any other themes?

    https://codex.www.ads-software.com/Using_Themes#Get_New_Themes

    Moderator James Huff

    (@macmanx)

    Another though, if you don’t mind me messing around, could you make a user (level 8) and email the username and password to me (using the contact form at my page)? I’d like to take a stab at it if you don’t mind.

    Thread Starter sagethepirate

    (@sagethepirate)

    Yep, I just downloaded and installed benevolence.

    Thread Starter sagethepirate

    (@sagethepirate)

    Yeah, I’ll do that.

    Thread Starter sagethepirate

    (@sagethepirate)

    macmanx really *is* the man.

    Problem solved. Thanks!

    Moderator James Huff

    (@macmanx)

    A description of what happened:

    First, I discovered that WP’s theme editor displayed “If this file was writable you could edit it” for every file. So, leaving the directories at CHMOD 755, we changed the permissions of the theme files to 666 (CHMOD 666). With the theme files now editable, I copied the Default Theme’s CSS header, removed some fluff, changed the theme name, and pasted it into the offending style.css file. I’m beginning to think that using WP’s theme editor was probably the missing loop.

    So I have a question that may seem ignorant… if I want to begin to build themes, is the only important thing that I have the following at the top of the css file?

    /*
    Theme Name: Not the WordPress Default
    Theme URI: https://www.ads-software.com/
    Description: The default WordPress theme based on the famous Kubrick.
    Version: 1.5
    Author: Michael Heilemann
    Author URI: https://binarybonsai.com/
    */

    Moderator James Huff

    (@macmanx)

    The short answer: Yes.

    The long answer: https://codex.www.ads-software.com/Theme_Development

    I had this exact problem. I found the answer here… https://trac.www.ads-software.com/ticket/1020

    Basically, it sounds like this happens when you have mac line endings, instead of unix line endings. I edit my style.css file in Dreamweaver. Since I’m on a Mac, the code pref in Dreamweaver defaults to Mac. I changed it unix in the prefs… opened style.css and made a simple change just so I could resave it. That did the trick, the presentation section of my admin site displays correctly now.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘New Theme Help!’ is closed to new replies.