Change css when store is closed
-
When the store is closed we get a “banner” to display: “store is closed”, this html-code if I’m correct
<div class="wfs-store-close-msg"> <span> We zijn nu gesloten. </span> </div>
We would like to change some of the css to the rest of the page. to .entry-title for example, when the store is closed.
We think it should be possible to do with some javascript / jquery-code to detect if the banner is present and add css when it is. But we can’t manage to get it working.
Can you be of any assistance? Is there some way to detect if the banner is present or can we add a class to the <body> when the store is closed?
Thank you so much
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change css when store is closed’ is closed to new replies.