• I just updated 3.8 from 3.4.2 and i’m not sure if this is a new issue. I have a multisite network. Having trouble understanding paths or config to stylesheet. For subsite *site3* I’m trying to call this stylesheet http://domainname/wp-content/themes/custom3/style.css using following tag in header

    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

    However, when i use tag above it’s pulling this stylesheet
    domainname/site3/wp-content/themes/custom3/style.css (and now seems to insert the site3 subdomain in the call). Other subsites (site1, site2 etc) are working the same way. I don’t recall it doing that in 3.4.2. So i’m not sure the correct path or config for stylesheets.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    That’s as it should be. The urls should be relative to the site 🙂

    Thread Starter lberelson

    (@lberelson)

    Cool. However when I update the style.css to the themes url (which to my knowledge, did not used to include the site name) the stylesheet does not get updated.
    i.e. I used to be able to update here to revise the theme used:
    http://howlingwolfmedia.com/wp-content/themes/custom3/style.css
    Now when i update that file, nothing change unless i hard code the stylesheet as the link above. So it has to do with the stylesheet using the /site3/ when it’s called.
    This is a custom theme… not a child theme.

    I must be missing something. I don’t remember an issue b4 upgrade. Not sure if it’s related to install upgrade to 3.8 or not.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Stylesheet call troubles’ is closed to new replies.