Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/scss/components/hfg/frontend/layout/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ $desktop: map-get($gl-devices-list, desktop);
grid-template-columns: 1fr auto 1fr;
}

.hfg_header.site-header {
.hfg_header.site-header:not(.neve-transparent-header) {
box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified this isn't the case here: .neve-transparent-header is added directly onto the same header wrapper element (#header-grid) that also carries hfg_header and site-header — confirmed both on a live page's DOM (<div id="header-grid" class="hfg_header neve-transparent-header site-header">) and in neve-pro-addon's source, where add_class_to_header_wrapper() appends the class to that same wrapper's class list. So the selector correctly matches; no parent-qualified selector is needed.

Loading