I’m experiencing the same issue. Using 1.8 beta right now and I’m guessing this is just the first time I’m noticing it, since the issue seems to have been around for a while now.
Hey Thomas, I’m on my other PC right now (the Porsche ;-)) and I can’t check, but I believe I have a Template element at the bottom of the affected page to pull in my CTA section.
Once I’m back at my main PC where I keep the build, I’ll put it online and send the link here. If you like, I’ll be happy to make you a user account, too.
This is happening on any element that has a custom css class.
Inspecting a page, the duplicate css is in that page’s css file. Following the source location links on both the disabled and enabled duplicates shows either multiple ‘BREAKPOINT: Desktop (BASE) */’ definitions for the same class, or the source link for the enabled class leads to a totally random location with no definition.
Look at the second section with the class o-church-location and you’ll see duplicate css on a custom class that simply adds a coloured background (o-bg-pale-1a).
Within that section there is a div with a shortcode that has a class o-leaflet-map. There is duplicate css here too. However, the leaflet map stuff that has no custom styling doesn’t have duplicate css.
If you then look at the next section with the class o-officers, there is duplicate css. Then drill down to the second container (ul) with the class o-officers-grid and there is duplicate css there. Each li also has duplicate css.
Finally, drill down through the section o-aand-f and any element that has a custom class on it has duplicate css including images.
OK, this gets more weird. I just created a new page and added my page template (via the template element) for the hero banner, then added a couple of sections and content. In one of the sections I put an image that I styled temporarily at the ID level for a quick look, setting HTML tag to picture, object fit to cover, and caption type to no caption. Having saved the page I inspected it and on both the picture and image there is duplicated css. Looking at the source links, the disabled css is in the new page’s CSS file whilst the enabled CSS is in the page template’s css file. This is different to what I described in the previous post where the css is in the page’s css file.
The link to the page is Care for creation – Otter Vale Churches. Check out the second section after the template and then drill down to the picture.