Notice: To Install styles, click the "Show Css Code" button first. The install button will work after that.
The devs are no longer actively involved in the forum, so any bug reports regarding the extension or website should be sent to them directly at contact@userstyles.org.

Site sometime loads stylish, sometime doesn't [SOLVED]

edited July 2018 in Style Development Firefox
I wrote a very simple stylish code to change background color of a site.
If I click one of its links, the following page loads that syle correctly.
But if I middle click it (to open in a new tab), stylish code is ignored.
I need to refresh too many times to get the right style loaded.
Why does that happens?
If the code was wrong, even after refresh, style would never load, but it does load.

The main page is an infinite scrolling like Facebook time line.
The following one is a normal page, without scrolling to load more.

This is the code:
Site: https://www.oantagonista.com/
#wrapper{ background-color: #123; } .hentry { background-color: #7dbbdd; } .page p { margin-bottom: 30px; color: #FF0000; }

I'm getting a warning at the first line:
1: 1 Don't use IDs in selectors.

It is the problem described above?

If someone had a better code, I'd appreciate to see it.

Thx.

Comments

  • edited July 2018 Chrome

    Simply add !important to all of your rules. This is a known bug in Stylish, but it's unlikely it'll ever get fixed.

  • wOxxOm said:

    Simply add `!important` to all of your rules. This is a known bug in Stylish, but it's unlikely it'll ever get fixed.

    Thank you, wOxxOm.
    It worked!

    :) :D :)
Sign In or Register to comment.