WordPress.org

Ready to get started?Download WordPress

Forums

Multi-Site Style Sheet Paths (3 posts)

  1. robwri32
    Member
    Posted 1 year ago #

    I'm currently experiencing a problem as it relates to style sheets in a micros site. About my setup.

    It's in a build server until its ready to launch.

    I have a subsite installation-- ie http://mysite.com/subsite1

    Now I've been asked to make some style edits so all of my network themes are installed in the same master root, wp-content/themes/micro1, wp-content/themes/micro2, and so on.

    Now when I run FireBug over the elements that need edits it shows that the style.css files are located at http://example.com/**subsite1**/wp-content/themes/micro/

    That folder does not exist in my setup and any edits I make to the root wp-content/themes/micro do not take effect.

    I'm hoping this might be an .htaccess files mis-configuration.

    I'm new to MU and can't find my way around this problem. Any help will greatly be appreciated as this project is coming to a close and I'm starting to sweat.

  2. danhgilmore
    Member
    Posted 1 year ago #

    FireBug shows the full URL after .htaccess. Your CSS should be located/read from (WordPress root)/wp-content/theme/(themename)/style.css. If it is not there, you should re-download the theme.

  3. Now when I run FireBug over the elements that need edits it shows that the style.css files are located at http://example.com/**subsite1**/wp-content/themes/micro/

    That's not wrong.

    Just as http://example.com/**subsite1**/ is virtual, so is the pathing to http://example.com/**subsite1**/wp-content/themes/micro/

    WordPress knows it's there. Now if that URL is not working, and you can't go to http://example.com/**subsite1**/wp-content/themes/micro/style.css then that's your problem and it's possibly your .htaccess.

    (BTW, Have you considered using a CSS editor plugin like the one in Jetpack instead of making a hundred children themes?)

Topic Closed

This topic has been closed to new replies.

About this Topic