Ben Andersen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Change colorsThanks! It’s interesting to hear how others work. The plugin needs a premium plugin to work though.
For now I think I will use the code I posted above to set the colors of a new site. And as you say, they will stay the same even when updating the parent theme.Forum: Themes and Templates
In reply to: [Storefront] Change colorsIdeally I would like to just set the color in code in a plugin or a child theme for each new site. So the parent theme can be updated without loosing the color settings.
Forum: Themes and Templates
In reply to: [Storefront] Change colorsHi Annie,
Yes, I’m aware of the customizer. I want to change the colors in code. When using the Storefront theme on many different sites it’s not sustainable to have to go in and manually set all the colors in the customizer.
Therefore I’d like to know which is the best practice of setting the colors of the Storefront theme.
Thanks,
Ben
Forum: Themes and Templates
In reply to: [Storefront] Change colorsI found a way to set the default colors for the customizer, see below.
Is this the best way to set the colors in code for Storefront?
I have to go into the customizer and fake a change and save for my new defaults to be used.function storechild_default_settings( $args ) { $args['storefront_heading_color'] = '#484c51'; $args['storefront_text_color'] = '#43454b'; $args['storefront_accent_color'] = '#96588a'; $args['storefront_header_background_color'] = '#ffffff'; $args['storefront_header_text_color'] = '#9aa0a7'; $args['storefront_header_link_color'] = '#d5d9db'; $args['storefront_footer_background_color'] = '#ffffff'; $args['storefront_footer_heading_color'] = '#494c50'; $args['storefront_footer_text_color'] = '#61656b'; $args['storefront_footer_link_color'] = '#2c2d33'; $args['storefront_button_background_color'] = '#ffffff'; $args['storefront_button_text_color'] = '#ffffff'; $args['storefront_button_alt_background_color'] = '#ffffff'; $args['storefront_button_alt_text_color'] = '#ffffff'; $args['storefront_layout'] > 'right'; $args['background_color'] = '#ffffff'; return apply_filters( 'storechild_customizer_defaults', $args ); } add_filter( 'storefront_setting_default_values', 'storechild_default_settings' );
Forum: Plugins
In reply to: [Popups - WordPress Popup] gravity forms issueI found the solution, set “Close on conversion?” to No. It was too far down. I thought there were only documentation on short codes further down.. ??
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Disable checkout opt-inHello again,
Try adding:
#mailchimp_woocommerce_newsletter { display: none; }
BR,
BenForum: Plugins
In reply to: [Mailchimp for WooCommerce] Disable checkout opt-inHello Thomas,
If you share your url I might be able to help you.
BR,
BenForum: Plugins
In reply to: [Mailchimp for WooCommerce] Disable checkout opt-inHi Tomb88,
You can put the css I posted in your theme, preferably a child theme. Locate the style.css of your active theme. If you’re using a child theme you will not loose the change when you update the parent theme.
Best wishes,
Ben
Forum: Plugins
In reply to: [Similar Products] display issuesThat is a big improvement! Could you please release the changes?
It might be even better if the display would be exactly like the built-in “Related Products” with bigger images. Are you able to fix that as well? See below “Similar products” how “Related Products” are displayed.
Thanks!
Forum: Plugins
In reply to: [Similar Products] display issuesThank you!
Do you see now that the products are not lined up properly in Storefront?See this screenshot:
https://www.dropbox.com/s/mfd2icszrntlv1q/Selection_603.jpg?dl=0Can you do something to fix this? Or is the Storefront theme broken?
Thanks!
Forum: Plugins
In reply to: [Similar Products] display issuesThanks but can you please change to use the latest Store Front theme? I’d like to check if it’s a problem with that theme.
BR;
BenForum: Plugins
In reply to: [Similar Products] css issuesThanks for adding the custom css field. I’m not sure it helps me in this case though.
How would I achieve changing the width to 50% for the similar products div?Thanks,
BenForum: Plugins
In reply to: [Similar Products] display issuesThanks! But it’s still the same. Do you have a demo site where I can see more than one line of products?
Best wishes,
BenForum: Plugins
In reply to: [Mailchimp for WooCommerce] Disable checkout opt-inThanks Pearl! I appreciate that.
The other plugin I have installed is the premium plugin WooCommerce MailChimp Integration by WooThemes. It has the opt-in checkbox between the terms&conditions checkbox and the submit order button. That’s in my opinion a much better place than after the create user account checkbox.One other thing I think you can improve is to explain better on wp.org what the plugin does. I just found it yesterday and read all I could find about it including the docs on mailchimp.com. Still I wasn’t sure what it really does. I think mailchimp features are mixed in the description. For example “Create abandoned cart Automation workflows + Send product recommendations”, I think that is automation requiring a paid Mailchimp account and is not something that comes with the plugin. The plugin makes it possible but it’s not features of the plugin if I understand things correctly. Do you see what I mean or am I missing something?
Thanks for your support!
I think it would be best to remove “Extra charges” from the string on the checkout page or make it translatable with a po file.
Now I’m getting:
Bank?verf?ring Extra Charges
and I would like it to say (in swedish):
Bank?verf?ring avgiftThanks!