- This topic has 5 replies, 2 voices, and was last updated 6 years ago by
Steve.
-
AuthorPosts
-
-
January 25, 2016 at 10:27 am #5712
Gabe ShackleMemberIt looks like the Piklist admin.css is being output in the footer along with the scripts. This causes issues with styles for the admin notices as they will overwrite the existing styles within the main WP admin styles.
It looks like the ‘piklist_assets_footer’ runs after the head is rendered which then causes any wp_enqueue_styles to put the css links in the footer, rather than in the header.
-
January 25, 2016 at 12:36 pm #5723
SteveKeymaster@gabeshackle– Which styles are being effected? Our css was designed to target Piklist notices only.
-
January 25, 2016 at 12:40 pm #5725
Gabe ShackleMemberThe main one I noticed was the different types of admin messages. I’ve attached a couple screenshots showing what’s happening.
Attachments:
You must be logged in to view attached files. -
January 25, 2016 at 12:43 pm #5728
SteveKeymasterNot sure I’m following. That looks like a Piklist created admin notice. Whats the conflict?
-
January 25, 2016 at 12:44 pm #5729
Gabe ShackleMemberIt’s creating the notice fine, but since the Piklist admin styles load in the footer after the WP styles, it doesn’t pick up the green left border from the .updated class.
-
January 25, 2016 at 2:59 pm #5736
SteveKeymasterThis looks like legacy code to support older version of WordPress. We are setting the border-left color. Will remove in next version. Thanks for noticing! (pun intended)
-
-
AuthorPosts
- You must be logged in to reply to this topic.