- This topic has 7 replies, 4 voices, and was last updated 3 years ago by
NerdySupportExpert Moumita.
-
AuthorPosts
-
-
April 23, 2023 at 2:15 PM #191274
Chris
ParticipantHi support,
I want to customize the UI of the registration form. I’ve tried to customize the registration form using the ‘wp’ hooks and it succeeded. However, this seems to cause the checkout page’s checkout row to keep on spinning and loading. The console log shows the CSS added is somehow contained into the .json file, thereby causing an uncaught error. Can you please guide me or provide me the correct hook for this or codes, or anything which is possible to customize this?I’m using the codes below which works fine until I tested the checkout flow.
<?php
add_action(‘wp’, ‘registration_custom_css’);
function registration_custom_css() {?>
<style type=”text/css”>/* my CSS code */
</style>
<?php
} -
April 23, 2023 at 3:42 PM #191276
Chris
ParticipantProbably this action added all the codes to all files, so it was added to the json file. Maybe if adding a ‘if’ statement would work? but I’m not sure what to be added for the ‘if’ statement… I would be appreciate it if you could provide me the solutions for this thanks.
-
April 24, 2023 at 8:10 PM #191339
Sangita Support Squad
Keymaster@Chris, our team will check and get back to you.
-
April 25, 2023 at 6:41 PM #191381
MVX Support Ninja
KeymasterHi,
Try below code…add_action('wp', 'registration_custom_css'); function registration_custom_css() { if (is_page_vendor_registration()) { //work only mvx registration page ?> <style type="text/css"> /* my CSS code */ </style> <?php } }Regards,
-
April 26, 2023 at 8:00 PM #191420
Chris
ParticipantThank you
-
April 27, 2023 at 9:47 AM #191446
Sangita Support Squad
Keymaster@Chris It would be really great if you can give us 5/5 review here: https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
This would motivate the team further to do their job more efficiently. -
April 27, 2023 at 12:24 PM #191451
Chris
ParticipantAlright sure, I have reviewed previously. Does it allow to review for twice?
-
April 28, 2023 at 1:16 AM #191469
NerdySupportExpert Moumita
KeymasterNo, thanks for that 🙂
-
-
AuthorPosts
- The topic ‘Registration Form Customization’ is closed to new replies.






