Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

font has changed

Theme and Plugin Support

Tagged: 

Resolved
Viewing 11 reply threads
  • Author
    Posts
    • #116410
      Criss
      Participant

      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.

    • #116496

      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,

    • #116531
      Criss
      Participant

      I don’t see a reason why

      body {...}
      Copy

      should have stopped working. But do you have specific CSS classes for that form?

    • #116574

      Hi,
      using below class you can add your custom CSS

      body .wcmp_regi_main
      Copy

      Regards,

    • #116623
      Criss
      Participant

      .wcmp_regi_main, .wcmp_regi_main .button is not working (I have also tried with !important). You might have a look yourself at this page, please

    • #116681

      Hi,
      using below css it is working
      Checkout the image – https://prnt.sc/108e1ob

      body .wcmp_regi_main .button{
      	background-color: green !important; /*change as per your requirement*/
      }
      Copy

      Regards,

    • #116686
      Criss
      Participant

      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.

    • #116771

      Hi,
      Kindly override the css and add the theme font-family on this class as !important.

      Regards,

    • #116801
      Criss
      Participant

      it’s not working, and if you think it can be solved with an !important then we are not getting anywhere

    • #116821

      Hi,
      Please 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(){
      	?>
      	<style type="text/css">
      	button.woocommerce-Button.button {
          	font-family: none !important;
      	}
      	</style>
      	<?php
      }
      Copy

      Let me know is this work or not.

      Regards,

    • #116842
      Criss
      Participant

      …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.

    • #116903

      Hi,
      using below code it’s working fine on our end. kindly check out the video – https://www.loom.com/share/d6a1ba6d1b04489b9877c989651b1802

      Please 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
      }
      Copy

      Regards,

Viewing 11 reply threads

The topic ‘font has changed’ is closed to new replies.