WordPress.org

Ready to get started?Download WordPress

Forums

Digg Digg
Different names for DD_BUTTON class (4 posts)

  1. Wlkus
    Member
    Posted 2 years ago #

    Is there any chance to implement code change, which will name class of each inserted button differently? Instead naming them all same DD_BUTTON use number for example like DD_BUTTON1, DD_BUTTON2 etc.

    Actual implementation doesnt allow custom styling for buttons, which could be quite usefull. For example now facebook like is translated to appropriate language you have registered in your FB profile and its often longer than basic Like text. So 90px width is not enough to fit in whole button and also count.

    Or instead allow to define custom width for each button in admin part. Would help a lot!

    http://wordpress.org/extend/plugins/digg-digg/

  2. Wlkus
    Member
    Posted 2 years ago #

    Did some deeper digging, now understand that styling button class wont help that much, because width is defined in iframe of embeded button, which should be possible to edit by altering embed code?

    Anyway here is picture how does look like button in Czech version of FB
    http://www.diigo.com/item/image/1t040/i92p

  3. LeoWid
    Member
    Posted 2 years ago #

    Hi WIkus,

    Thanks a lot for the feedback on this. We don't have any code changes planned just yet, but I will be sure to bring this up in our next brainstorm, thanks for the shout! :)

    Best,

  4. Wlkus
    Member
    Posted 2 years ago #

    Thanks for info! Anyway I tried to alter code for facebook like (iframe) and edited some parts of dd-class.php to make it longer (exactly all ocurences of number 92, which I thought define width) without any succes. My coding skills are close to zero, could you please give me some tips what to do? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags