I can’t see any difference other than the related products have more whitespace underneath (and some other elements in the header spacing out some more, which I can understand if it’s not related to this issue). Could you please specify where on the page I have to look or what I steps I have to follow to reproduce the issue?
Thread Starter
Sascha
(@saschaehgmailcom)
Thank you for the response. Here are screenshots:
With W3: https://pasteboard.co/Hk30QWc.png
Without W3: https://pasteboard.co/Hk316ce.png
Is it only when you’re logged in? Because I can only see the same as https://pasteboard.co/Hk316ce.png on both your staging and production environments.
If the block doesn’t display when caching is enabled, it could mean the block is added using JavaScript, which doesn’t work as expected when the scripts are minified or delayed.
Hope this helps you a bit further!
Thread Starter
Sascha
(@saschaehgmailcom)
Hi there,
Thanks again for your help!
In incognito mode so not logged in on the staging site – I still have the issue.
http://staging.instrumentrentalbarcelona.com/product/kala-makala-baritone-ukulele/
I have let the plugin that generates the box know of this and they said they would fix it in their next update (RNB Rental and Booking plugin). No idea how long that will take.
Not sure what minified is but I do remember playing around with a setting but this did not help.
I have now disabled w2 and all works well but the site has way way way to many queries and w2 made a big dent in that. I do need it as DB stops responding quite often because of to may queries and also the site is slow.
So I either play the waiting game and hope they fix it… Or there is something I can change with w2.
Thanks again!
Sascha
When I visit the website, I now see the box in a flickering blink of an eye, but it is automatically hidden as fast as the page is loaded. So I think there might be something like a browser compatibility issue here.
What browser do you use? Is it up to date?
I found out where the block is located and what styling is applied. There is a block with class price-showing which includes the following:
<div class="back" style="transform: rotateY(-180deg);height: 100%;width: 100%;backface-visibility: hidden;transform-style: preserve-3d;position: absolute;z-index: 0;transition: all 0.5s ease-out;">
<div class="notice" style="backface-visibility: hidden;">
<h3 style="backface-visibility: hidden;">Show Pricing</h3>
</div>
</div>
When I disable the backfase-visibility on the div with class back, the block is not hidden anymore. The styling added to the blocks is done by JavaScript, since the page source shows me this:
<div class="back">
<div class="notice">
<h3>Show Pricing</h3>
</div>
</div>
So you could override the styling for now, until they fixed it. Edit your theme stylesheet and add something like:
.price-showing .back {
display: none !important;
}
-
This reply was modified 7 years, 11 months ago by
gidomanders.
-
This reply was modified 7 years, 11 months ago by
gidomanders.
-
This reply was modified 7 years, 11 months ago by
Jan Dembowski. Reason: Fixed broken formatting
I just replied with a fix, but it has been held for moderation, probably because of some code I added. The fix is adding the following to your theme stylesheet:
.price-showing .back{display: none !important;}
The explanation reply will hopefully be accepted soon.
Thread Starter
Sascha
(@saschaehgmailcom)
That worked!! Thank you so much! Where can I vote for you? š
Thread Starter
Sascha
(@saschaehgmailcom)
So tweaking around with everything and W3 seems to cause quite a few problems with CSS/Java. I fixed this and then something else bugged out… so went back to minify and disabled it all together and that fixed all.
I guess if i had the time I could make more exact changes or customisation to Minifi. But for now w3 enabled without Minifi.
Thank you for your updates @ saschaehgmailcom. I am happy to hear that everything has been sorted out, even if the last resort was to have minify disabled. Indeed minify is a complex tool and it requires quite a few adjustments in order to get there which often can be time-consuming.
Please feel free to close and mark the topic as resolved.
If you have any additional questions, please feel free to ask.
Kind regards!
Bogdan S.