We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SOCIAL MEDIA SHARING - Changing button size | Forum

Kevin
Kevin Jan 5 '17
Tried increasing the 16x16 to addthis 32x32. While the area allocated for the button is increased, the actual icon remains 16x16.


Any ideas.

Here is a link to an older thread from another member at the Social Media Sharingplugin page that I have been editing with my new observations: https://developers.oxwall.com/forum/topic/43473

Attachments:
  16x16_buttons.JPG (9Kb)
  32x32_code.JPG (15Kb)
Kevin
Kevin Jan 5 '17
Darryl B Leader
Darryl B Jan 5 '17
From looking at the thread you need to leave the element to be styled the same as he has it written, and change the sizes in the css for the element.

**This can't be changed. It is the styled element that the plugin uses**
addthis_16x16_style .at4-icon, .addthis_16x16_white_style .at4-icon,  .addthis_default_style .at4-icon, .at4-icon, .at-16x16

**This is the style for the element**
 {
  width: 100px!important;
  height: 100px!important;
  line-height: 100px!important;
  background-size: 100px!important;
}

**Same thing here. The element should be left as is. Just change the style below it**
.addthis_toolbox .ow_social_sharing_button {
  width: 100px!important;
  height: 100px!important;
  max-width: 100px!important;
}
instead of 100px put your size

I don't have it on my site, so I can't confirm that it works, or not.
The Forum post is edited by Darryl B Jan 5 '17
Kevin
Kevin Jan 6 '17
Thought it was time to celebrate. But still shows same size (see attachment)


Where are the images stored? Was wondering if I could replace them.

The Forum post is edited by Kevin Jan 6 '17
Attachments:
  Still_16x16_icon.JPG (9Kb)