• Resolved XXX

    (@ogi)


    First: A nice evening.
    Second: My english may suck. Ignore.

    Okay, here’s my problem:

    What i wanted: A own theme.
    What i did: I downloaded the complete german Kubrick Theme “default_de”. I uploaded it to test it. It worked. I was amazed. ?? Then i made a complete copy of the default_de-Theme and edited it (the folders name and in the style.css some colors, some images, nothing great.)
    Now, when i upload the complete theme-folder and go to the theme-selector-page in WP, all three columns (name, author, description) are filled with the code from my style.css.

    What this means: Looks shitty. Makes me scroll damn much. But if i activate it, it does work.

    What i want: I want my theme displayed in the way the others are. Short author-name, short description, short theme-name. Otherwise the other templates will deride it.

    What you should know: I did NOT delete or alter the code-lines in the head of my style.css – i just altered the variables like name etc. So this cannotbe the problem.

    Another thing you should know: Although anywhere else is affirmed, that this and that things are to find in the “index.php”, in my case they’re all in the “header.php” … but as mentioned above:

    It does work.

    Oh, and by the way: i deleted the text in the “header.php” which does show the site’s name and description in the header. Which is fine. (Because it does work, too.) But how can i make my image in the header linked with the start-site?

    Thanks in advance!

    O.

    PS. Did i mention that you should ignore my english?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Here is what mine looks like:
    /*
    Template: aphrodite
    Theme Name: Aphrodite Vanilla
    Description: Development platform for Aphrodite
    Author: Root
    Author URI: https://atthe404.com/

    Aphrodite theme for WordPress 1.5 designed and built
    by Root https://atthe404.com

    */
    @import url('https://atthe404.com/aphrodite/wp-content/themes/aphrodite/layout.css');
    @import url('https://atthe404.com/aphrodite/wp-content/themes/aphrodite/core.css');
    @import url('https://atthe404.com/aphrodite/wp-content/themes/aphrodite/format.css');

    Thread Starter XXX

    (@ogi)

    YEAH!

    Cold Forged!

    That’s it!

    Took the file to Virtual PC – and now it’s working!

    Merci for the link! What about that:

    function get_theme_data($theme_file) {
    ????$theme_data = implode(”, file($theme_file));
    ????
    ????// fixing the theme page so it’s easier.to deal with mac & pc
    ????$theme_data = preg_replace(“/\r/”,”\n”,$theme_data);

    Does it help. when i copy this to “functions.php”?
    Because i will make some more changes to the style.css – and i do not wanna switch all the time …

    O.

    PS: Thanks again! ??

    Thread Starter XXX

    (@ogi)

    ANd just one more thing … how do i link my header-image? So that if i click on it, i come back to the homepage … sorry for that silly question – but my coder-skills are, well, uncool?

    O.

    I tried adding that code to my functions.php file, and it wacked it out…and I kept getting an error. Where in the code should I add that?

    Are you talking about root’s code above? That’s the code that goes in a commented section at the top of the style.css file.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘I’ve got all the style.css-code in my description-fields … please help me.’ is closed to new replies.