Style requires page reload to activate.

When using this code in Firefox 58.0.2 (x64):
.js-article-list {
padding-left: 20px;
min-width: 900px;
}

# Applies to: URLs on the domain -> newatlas.com

I open the page in a new tab (without focus, a new background tab) I need to reload each page before the style is applied. Why is that? And can it be fixed?

Comments

  • edited March 10 Chrome

    That's a quirk in Firefox that needs a special workaround in the extension. Stylus implemented that. The new Stylish-for-Firefox didn't. Don't hold your breath: it's likely they'll never fix that. IIRC the quirk may be induced by another extension such as "Google Analytics Opt-out".

    To keep using Stylish you can add !important to all declarations. Sometimes it's also required to raise CSS specificity artificially e.g. html:not(#foo) .js-article-list { padding-left: 20px !important; }

  • Thanks! I'll try !important and see how it goes.
  • I can confirm that this works! Thanks again :)
Sign In or Register to comment.