Describe the bug
When a page has the header set to overlay and a Repeater helper element is present above an Oxygen Woocommerce Product Builder element, the header displays correctly (as overlay) in the builder, but on the front end the CSS for the overlay header background (background-color: initial !important;) is not applied.
Create an Oxygen template and apply it to Catch All
Add a header builder and inner content to the template
Add a pro menu to the header builder
Give the header builder a background
Apply some spacing to make the header builder larger
Save the template
Create some post categories (I used FakerPress to do this)
Create some posts with various categories (I used FakerPress to do this)
Create a new page and edit with Oxygen
Manage > Page Settings > Overlay Header > Always
Add some content to the page (divs, text block, etc.)
Add a new div and add a Repeater
Set repeater Query params to post type:post, filter "in any" with at least two categories
Add a heading to the repeater div with dynamic data - post title
Add an image to the repeater dive with dynamic data - featured image Note: at this point I saw an error flash in Oxygen Builder but did not get a chance to screenshot it before it disappeared
In a new div within Inner Content below the repeater, add a WooCommerce Product Builder. In my case the only child element of the Product Builder is a Product Cart Button.
Set the product id to the match the product created in step 2
Save
View the front end of the page
The header shows a background, which it shouldn't
Expected behavior
Page settings > Overlay Header > Always = the header should not have a background. Normally the CSS applies this rule to make that happen:
body.oxy-overlay-header .oxy-header:not(.oxy-sticky-header-active), body.oxy-overlay-header .oxy-header:not(.oxy-sticky-header-active) .oxy-header-row {
background-color: initial !important;
}
What actually happens
The header has a background. The CSS that should normally be applied, as described above, is not included.
Desktop (please complete the following information):
Describe the bug When a page has the header set to overlay and a Repeater helper element is present above an Oxygen Woocommerce Product Builder element, the header displays correctly (as overlay) in the builder, but on the front end the CSS for the overlay header background (background-color: initial !important;) is not applied.
Have you tried all the steps at https://oxygenbuilder.com/documentation/troubleshooting/troubleshooting-guide/? Yes
Are you able to replicate the issue on a Sandbox install at https://oxygenbuilder.com/try? Yes
To Reproduce
Expected behavior Page settings > Overlay Header > Always = the header should not have a background. Normally the CSS applies this rule to make that happen: body.oxy-overlay-header .oxy-header:not(.oxy-sticky-header-active), body.oxy-overlay-header .oxy-header:not(.oxy-sticky-header-active) .oxy-header-row { background-color: initial !important; }
What actually happens The header has a background. The CSS that should normally be applied, as described above, is not included.
Desktop (please complete the following information):