sarahhenderson/Crafty-Social-Buttons

Size of button immages

Closed this issue · 4 comments

The images of the buttons have are 64x64 in dimension. This is too large for my blogs, thus I resized them to 32x32.

Unfortunately, this creates an error while updating to new plugin versions and I have to manually re-install my smaller versions of the icons.

Do you see the possibility to add an option for either setting the display size of the images or to somehow allow 3rd-party icons?

There is an option to include an additional set of icons. There are instructions here (http://sarahhenderson.github.io/Crafty-Social-Buttons/#adding-icons) but basically, if you add your icons in a new subfolder inside the buttons folder, you will be able to select them in the settings, and they shouldn't get overwritten by any updates.
There is CSS also setting the size to 48px, so you'll need to overwrite that style in your theme's styles.css file for now, as any customisations you make to the plugin's CSS will get overwritten on update.

I do have plans to add additional options to the plugin in future to be able to choose from several different sizes - hopefully that should be in a new version in the next month or so.

It is easy to add icons to the subfolder you mentioned. That's the way I already did it. But the problem occurs as soon as there is a software update for the plugin. WP will remove the whole directory which requires to manually reinstall the 3rd-party icons.

Thus, a solution would be to add a "custom path" option to the icon selection in the plugin settings. With this it would be possible to place the 3rd-party icons outside of the plugin directpry.

Choosing button sizes added in 1.1.0, and placing icons in wp-content (so they aren't deleted on update) was added in 1.2.0

Sorry for late answer. I immediately recognized it, then. Thanks a lot!