• Resolved streamworksaudio

    (@streamworksaudio)


    Hi,

    Just installed the plugin on my local dev machine to test out while I am writing our new company theme and have a couple questions.

    One, is it possible to style the elements some how? For example our theme has a dark background and the white (or light gray) stands out too much. I would like to use a custom background color.

    Two, I noticed the plugin adds styles to the fieldset element. Any way to disable it? WooCommerce and Strip use fieldsets in a couple places and the plugin adds a white background to this element (which again does not look good with our darker theme).

    Lastly, after installing the plugin, why does an upload image button appear on the edit profile page in WooCommerce My Account? Is it supposed to be there? When clicking on it, I get a modal to select a photo from the WordPress media library.

    Hoping there is a way to style this plugin more to match our theme, because so far I am impressed and might want to use the features of the pro version.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter streamworksaudio

    (@streamworksaudio)

    I do notice that many of the styles from reviewx are using !important. I am able to override some of these styles, but I have to declare !important on my CSS as well.

    Hi @streamworksaudio

    Thanks for your detailed discussion. We are really interested to make our plugin compatible and with your theme. Let’s point out from your discussion.

    One: Currently other than custom work, it’s not possible with the plugin. But we have a plan to give the user the option to change the dark and light themes, so on the background. We would like to hear from you more, regarding this feature.

    Two: I think while creating the markup, we have made some mistakes. that’s the reason for adding style to the fieldset. We are working on improving the code in each update, so I believe we can solve this.

    Three: The upload image option on my account page of WooCommerce is a feature request from some of our users. So a customer can upload his own profile image.

    Regarding CSS, as I earlier said, we are refactoring our codes, so that will be cleaned up by updates.

    Finally, we are excited to work with your theme, and you said you are also impressed, good to hear that. Can you please mail us here, [email protected] with your detailed requirement? We will love to hear from you.

    Regards

    Amin

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Thanks for quick reply Amin,

    For the styles, is it possible to dequeue the styles? If so I can then move the styles into our theme and edit them. Only problem with that is that if there are changes to the styles in updates we would have to manually update them. But it is an idea. Only other way I can think of is to overwrite the styles with a bunch of !important

    Thanks for the info on the fieldset tag, hopefully we will see a fix soon ?? With our dark theme the white field does not match.

    For the image upload, I assume that this is being called by the ‘woocommerce_edit_account_form’ hook? If so, can you tell me which function you are running there (and priority if there is one) so I can do a remove_action? I would prefer not to have this option showing on the edit profile page.

    Our theme is not one we are making for commercial purposes. It is our own theme for our website.

    Cheers

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Just following up…. I can remove the image upload in the edit profile page by doing a remove_all_actions(‘woocommerce_edit_account_form’). Looking at WooCommerce’s github, I don’t see any WooCommerce functions being called on the hook. But I am not sure if any other plugins are.

    Perhaps this could be an option in the plugins settings?

    Cheers

    Hi @streamworksaudio

    For the styles: If you dequeue the styles then all design of the plugin will be gone.

    For the avatar upload: We are using ‘rx_user_avatar_uploader’ this function for this purpose, located in the path: reviewx/includes/class-rx-user-avatar.php,

    fieldset tag: We have the regular update on this plugin, so I think we can fix it as soon as possible.

    Good to hear, you are making theme for your own. Good Luck ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Styles and Profile Photo’ is closed to new replies.