How do I change the path to the style.css file? (2 posts)

  1. SeventhSun
    Posted 10 years ago #


    I just immigrated to WordPress from Blogger.
    I wanted to make sure, I could import my Blogger blogs, so I installed WP in a "wordpress" folder on my site.

    After some tries I finally managed to import the entries, so I wanted to go all the way, and start using WP for real.

    I managed to change my URL using mySQL, but in the process I found that I had to copy the content of the "wordpress" folder to the root of the site - or so I thought.
    After trying to manipulate the template files today, I discovered that the active files still are the ones inside the "wordpress" folder, except for the style.css file.

    So in short:
    I have my WP blog at: http://www.floede.dk
    My template files are located in: floede.dk/wordpress/wp-content/themes/green-marinee/

    But the CSS file being used is in:

    I actually like that everything is placed inside the "wordpress" folder.
    But I simply don't know enough PHP to figure out why the css path is different from the template path.

    So can anybody tell me in which file, and line I change this?

  2. AnnaNagarBlog
    Posted 10 years ago #

    hi its very simple. just open the header.php in floede.dk/wordpress/wp-content/themes/green-marinee/ and check for

    @import url( <?php bloginfo('stylesheet_url'); ?> );

    it is in the 10th line of the file.

    now change it to

    @import url(http://www.floede.dk/wordpress/wp-content/themes/green-marinee/style.css);

    it should work now.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.