Forum Replies Created
Thanks!
OK, I think we won’t go there. What about my first question? How do I implement this update safe?
This works for testing. How would you implement this in production?
Additional question: We also need to customize your label and placeholder text (Your Name, Your Full Name, etc.). How would you do that?
Tried it but doesn’t work. You are injecting CSS variables at runtime. Everything defined in the Additional CSS section gets overwritten when the popup is loaded.
I tried that too. All of the following does not change anything:
/* 1. Modal Main Container Radius */
.w3eden .modal-content {
border-radius: 2px !important;
}
/* 2. Input Fields Styling */
.w3eden .modal-content .form-control {
border-radius: 1px !important;
}
/* 3. The Submit Button */
.w3eden .modal-content .btn-primary.wpdm_submit {
border-radius: 1px !important;
}
/* 4. Inner Card Styling */
.w3eden .modal-content .card {
border-radius: 1px !important;
}
.w3eden .modal-content .card-header {
border-radius: 1px 1px 0 0 !important;
}
That’s a kind offer. But honestly I would like to learn how it works. Any hint where to start?
I tried, e.g.
.w3eden .modal-content {
--modal-radius: 2px !important;
}
Has no effect. Do you have a working example from me?
Yes, but i cannot modify these radii: https://prnt.sc/2tCIK6vKRIZa
Thanks for your reply. I have tried your suggestion, and it helps. Original colors still seem to be a little bit off. Additionally, 7.0.2 changes the style (font sizes, button radius etc.). Is there any way to keep the original design?
https://www.primelite.com/library
Screenshots:
v6.8.9 https://prnt.sc/9s2YIRbRHB4h
v7.0.2 https://prnt.sc/oGPjizbGQOrZ
Tanvir,
One more note regarding fonts. The WPDM popup uses the specified fonts in case you are logged into the site. If not, another font is used.
Best
Frederic
Hi Tanvir,
Thanks for your reply regarding the translations. I’ll try your recommendations.
Have you checked on the font issue? Please quickly check since you can access our site now.
Best
Frederic
Thanks Nayeem! This resolved the issue.
Hi Tanvir,
Thanks for getting back to me. I have tried Loco with German language files in plugins/download-manager/languages/download-manager-de_DE.po and languages/plugins/download-manager-de_DE.po. The strings I need (popup / modal content only) have already been translated, so I did not have to add anything. Somehow, WPDM only shows the English strings and ignores the translation files or strings.
Best
Frederic