Skip to content

Commit

Permalink
chore: add elementor selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Aug 16, 2023
1 parent 04e0488 commit 3c41ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/plugins/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ private function the_otter_banner() {
align-self: center;
}

/* Hide the "Add New" button for Multisite WP */
a.page-title-action {
/* Hide the "Add New" button for Multisite WP. Second part is for Elementor */
a.page-title-action:first-of-type, #e-admin-top-bar-root:not(.e-admin-top-bar--active)~#wpbody .wrap a.page-title-action:first-of-type {
display: none;
}
</style>
Expand Down

0 comments on commit 3c41ba6

Please sign in to comment.