New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child theme style.css should be loaded after the dynamic style #577

Closed
eri-trabiccolo opened this Issue Oct 10, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@eri-trabiccolo
Contributor

eri-trabiccolo commented Oct 10, 2017

While at the moment it is loaded after the main theme style but before the dynamic style.
This means that, given equal selectors weight, a dyn style rule will win.

Not sure this is the desired behavior.

In Customizr the child-theme style.css is loaded after the custom-skin.

reported here:
https://wordpress.org/support/topic/customise-hyperlink-font-colour/

@Nikeo

This comment has been minimized.

Collaborator

Nikeo commented Oct 14, 2017

Thanks for reporting this. Yep that's right.
I'm fixing it.

The new order will be

  1. main
  2. dynamic
  3. wp-custom-css ( if any )

and if child theme

  1. main
  2. dynamic
  3. child theme
  4. wp-custom-css ( if any )

@Nikeo Nikeo added the fixed label Oct 14, 2017

@Nikeo Nikeo closed this in 6f06711 Oct 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment