Tagged: enfold
-
AuthorPosts
-
February 12, 2021 at 5:26 pm #1280116
Hi guys,
I keep having an issue with the CSS code in the quick CSS.
This page https://www.viverelondra.com/recensioni shows a button. The button should be orange, but it is now grey. In order to make it orange, I have to re-save the quick CSS page. https://www.screencast.com/t/hlAW2Egw
/* Site reviews Submit button Orange */
div.wpforms-container-full .wpforms-form button[type=submit] { background: #ff8c00 !important; color: #ffffff !important; width: 50%; height: 35px; margin-top: 22px; }
How can I prevent this issue from happening every time?
Thank you,
MarcoFebruary 15, 2021 at 1:35 pm #1280523Hi Marco,
It’s orange on my end, how can we reproduce this problem?
Best regards,
RikardFebruary 22, 2021 at 6:53 pm #1282868Hi Rikard,
it back to orange after I saved the CSS.
Could you please tell me what color you see in the mobile menu? https://www.screencast.com/t/mOIor3Ax
Can you do a test yourself from the mobile? https://www.viverelondra.com
thanks
MarcoFebruary 24, 2021 at 10:25 am #1283343Hi,
I see the same thing as in your screenshot on the page in private, I’m guessing that you want to change that colour to orange as well?
Best regards,
RikardFebruary 24, 2021 at 10:49 am #1283348Hi Rikard,
If I now go back to the CSS and I save it again, the green will go back to orange.
With this I wanted you to see what I see too.
The code is in the CSS, it works, most if the times then, suddenly, it doesn’t work anymore.
So I have to go back to CSS and save again.
And what if I didn’t notice that? Same thing happened with the headers for mobiles, set on CSS to be hidden on mobile.
They keep reappearing, so I have to go back to CSS, save again, and check if the code is working on front end.
The question is, why does it keep happening and how to fix it?
Thanks
MarcoFebruary 26, 2021 at 4:21 am #1283778Hi,
The CSS in question is not coming from the theme, so I can’t really say why that is unfortunately. If you want to override it, then you should be able to do so using this CSS:
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target { background: #ff8c00 !important; }
Best regards,
RikardFebruary 26, 2021 at 4:41 am #1283780I’m sorry Rikard,
That’s not the point.Whether the CSS is coming from the theme of not, it’s still a valid CSS.
And it works, usually.
By time to time the quick CSS stops working. If you check the CSS you’ll see the code. Now, my question is about how to fix X the CSS from stopping working.
Thanks
MarcoFebruary 28, 2021 at 5:43 am #1284196Hi,
Thanks for the update. I’ve never heard of that happening to other users, so it must be specific to your site then. How can we reproduce the problem?
Best regards,
RikardFebruary 28, 2021 at 2:15 pm #1284222H Rikard,
I had already asked about this previously and I was told that I simply had to resave the page. That it could happen.
This happens to time to time, I will monitor it and as soon as it happens again I will send you the details :-)
Thank you
regards,
MarcoMarch 1, 2021 at 12:57 pm #1284401 -
AuthorPosts
- You must be logged in to reply to this topic.