All Topics
Custom Post Type causes CSS class name conflict
I have a custom post type with the slug of image
. When I configure Admin Columns for this custom post type, it adds a class called ac-image
to the <body>
tag.
The problem here is that this class is already defined for another function in the AC CSS and now these styles are being applied to the <body>
. The conflicts are mainly visual, however it does apply an overflow: hidden
which prevents us from being able to scroll in the main window, which isn’t ideal.
I have worked around the issues for now, but it would definitely be a good idea to prevent these conflicts in a future release so that the work arounds are not necessary.
Thanks!
You must be logged in to reply to this topic.