Theme and Plugin Support
Tagged: font
-
AuthorPosts
-
-
February 25, 2021 at 1:12 AM #116410CrissParticipant
I have my custom font set in settings > vendor frontend > custom css (as also suggested in this topic) and it was working fine. After latest update is not being applied in the vendor-application page. Please advice, thank you.
-
February 25, 2021 at 6:26 PM #116496MVX Support NinjaKeymaster
Hi,
This setting is only applied on vendor dashboard. If you want to add style for vendor registration then you have to add custom css for this.Regards,
-
February 25, 2021 at 9:06 PM #116531CrissParticipant
I don’t see a reason why
body {...}
Copyshould have stopped working. But do you have specific CSS classes for that form?
-
February 26, 2021 at 6:04 PM #116574MVX Support NinjaKeymaster
Hi,
using below class you can add your custom CSSbody .wcmp_regi_main
CopyRegards,
-
February 27, 2021 at 1:04 AM #116623
-
February 27, 2021 at 5:52 PM #116681MVX Support NinjaKeymaster
Hi,
using below css it is working
Checkout the image – https://prnt.sc/108e1obbody .wcmp_regi_main .button{ background-color: green !important; /*change as per your requirement*/ }
CopyRegards,
-
February 27, 2021 at 8:26 PM #116686CrissParticipant
I don’t need to add my CSS but to unset yours, so that my theme’s CSS applies globally.
So far, I only managed the button (font-family:unset;) but all others in the form (like font-family, or text-transform) are not applying.
This is my page. -
March 1, 2021 at 6:24 PM #116771MVX Support NinjaKeymaster
Hi,
Kindly override the css and add the theme font-family on this class as !important.Regards,
-
March 2, 2021 at 12:39 AM #116801CrissParticipant
it’s not working, and if you think it can be solved with an !important then we are not getting anywhere
-
March 2, 2021 at 5:40 PM #116821MVX Support NinjaKeymaster
Hi,
Please add this code of the function.php of your current active themeadd_action('wp_head', 'wcmp_registration_vendor_css'); function wcmp_registration_vendor_css(){ ?> <style type="text/css"> button.woocommerce-Button.button { font-family: none !important; } </style> <?php }
CopyLet me know is this work or not.
Regards,
-
March 2, 2021 at 7:50 PM #116842CrissParticipant
…that code disables the font-family but it doesn’t substitute it with my font, which has a *universal selector and is applied everywhere (including WCMP) except this vendor-registration form.
Still, I don’t want to follow the path of adding functions/filters. I already have several ones in WCMP in order to fix problems and I’m sure they are prone to trigger even more (as I point out in another forum).
It’s standard procedure not to use !important in the parent plugins/themes (you know that) and by adding up over and over we won’t resolve the issues but create new ones. -
March 3, 2021 at 6:46 PM #116903MVX Support NinjaKeymaster
Hi,
using below code it’s working fine on our end. kindly check out the video – https://www.loom.com/share/d6a1ba6d1b04489b9877c989651b1802Please add this code of the function.php of your current active theme
add_action('wp_head', 'wcmp_registration_vendor_css'); function wcmp_registration_vendor_css(){ ?> <link href='https://fonts.googleapis.com/css?family=Ruda' rel='stylesheet'> <style type="text/css"> button.woocommerce-Button.button { font-family: 'Ruda',Arial,sans-serif !important; } </style> <?php }
CopyRegards,
-
-
AuthorPosts
The topic ‘font has changed’ is closed to new replies.