The trouble is that we designed and troubleshot the counter with the classic counter, before propagating it (with minor tweaks) throughout our site. We have a lot of time invested in it and it has worked fine for several months. It even worked fine on our previous save of the page HERE earlier in the month using the classic counter. That page works fine until we try to edit anything within the counter. As soon as we touch something, all the counters on the page fail. Unfortunately we will need to edit the counters to adapt them to the various pages, and to change quantities from time to time, so we can’t just freeze them forever.
I did confirm that the V2 counter does not have this problem, but that really isn’t a solution for us. It is going to be a real pain to rebuild all of our counters to behave like the classic counters if it is even possible. Here is the CSS controlling the font styles, sizes, spacing, and responsive behavior of the counter:
/* COUNTERS (STATISTICS) SECTIONS */
.x-counter .text-below {
margin-top: 0.2em;} /* This is gap between number and text below */
.number-wrap { /* Big numbers that change */
font-size: 2.5rem !important;
color: rgba(0, 0, 0, 0.9) !important;
font-weight: 400!important;
letter-spacing: 0.1rem !important;
line-height: 1.2 !important;}
.text-below { /* Text below numbers */
font-size: 0.9rem !important;
color: rgba(0, 0, 0, 0.4) !important;
font-weight: 700!important;}
@media (max-width: 767px){
.no-stack-x-1-3 {
width: 28% !important;
float: left !important;
margin-right: 1% !important;
margin-left: 3% !important;}}
@media (min-width: 481px) and (max-width: 767px) {
.x-column.x-1-4 {
width: 25% !important;
float: left;}
.number-wrap {
font-size: 2.5em !important;}
.text-below {
font-size: 0.9rem !important;}}
@media (max-width: 480px) {
.x-column.x-1-4 {
width: 50% !important;
float: left;}
.number-wrap {
font-size: 2.5em !important;}
.text-below {
font-size: .95em !important;}}
Of course none of that is going to work with the V2 counter and it may not even be possible to make it work due to the more complex V2 counter which we avoided just because they are much harder to style with CSS.
From a user perspective it would be much nicer if you worked with us to figure out how to fix the classic counter. Over time there will be lots of users like us that go to edit their counters only to realize (or not realize!) that all their HTML is suddenly showing. There was at least one post like this earlier in the week with exactly the same issue. There will be more. Someone must have done something to the classic counter code recently to cause this change in behavior! What was done can surely be undone on behalf of all your clients relying on their classic counters to continue to function.
I hope you will help sort this out.
Thanks!
Steve