• I’ve got an odd one when viewing my site in Chrome web inspector – the line numbers for styles aren’t showing! They are showing in all the other browsers – can anyone else confirm or help please?

    URL: https://haizdesign.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Perhaps it’s because you have so much internal CSS (in your <head>).

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is a plugin doing that? If not, which theme are you using?

    Thread Starter haizdesign

    (@haizdesign)

    Thanks Andrew. The internal CSS in the head was added by a topup lightbox script that I have now removed.

    The line numbers are still not showing in Chrome Version 35.0.1916.153 unfortunately. I have the checkbox for Enable CSS source maps ticked. This is a bespoke theme and all the other scripts and styles are enqueued.

    I have just noticed that if the inspector is open and I reload the page, the line numbers show temporarily, then disappear… Need to investigate that one!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Looks like the internal CSS is still there, try viewing the source of your Webpage.

    Thread Starter haizdesign

    (@haizdesign)

    It is! What a mess – looks like this is coming from the Revolution Slider plugin. Thanks. I now have a start point.

    Thread Starter haizdesign

    (@haizdesign)

    I discovered the issue was actually caused by a prefixfree script I had in my functions file.
    The internal CSS came from an update to the Revolution Slider plugin. I have downgraded it and the <head> is now looking a lot better. Thanks for pointing that out!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Style.css in Chrome’ is closed to new replies.