• Resolved qvarting

    (@qvarting)


    Hi,

    Since WordPress 4 there are support for emojis ??
    Emojis in captions are shown with 100% width.

    It seems to be <style id='jmig_stylesheet-inline-css' type='text/css'> that overrides wordpress

    img.wp-smiley,
    img.emoji {
    	display: inline !important;
    	border: none !important;
    	box-shadow: none !important;
    	height: 1em !important;
    	width: 1em !important;
    	margin: 0 .07em !important;
    	vertical-align: -0.1em !important;
    	background: none !important;
    	padding: 0 !important;
    }

    Example

    Cheers

    https://www.ads-software.com/plugins/jquery-masonry-image-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Thank you so much for the through bug report. I’ll have some time in the next few days to release a quick little update. Do you need any help with a temporary fix until I push out the update?

    Thanks!

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    Update has been pushed out. Just had to update 1 line of code. This line went from:

    $custom_css_width = '.gallery-item, .gallery-item img, gallery-item a { width: ' . $thumbnail_width . 'px !important; max-width: ' . $thumbnail_width . 'px !important; min-width: ' . $thumbnail_width . 'px !important; }';

    to:

    $custom_css_width = '.gallery-item:not(img.emoji), .gallery-item img:not(img.emoji), gallery-item a:not(img.emoji) { width: ' . $thumbnail_width . 'px !important; max-width: ' . $thumbnail_width . 'px !important; min-width: ' . $thumbnail_width . 'px !important; }';

    Thanks again for the good bug report. Happy holidays!

    Thread Starter qvarting

    (@qvarting)

    Cool, thank you for the quick reply & fix.

    Merry christmas.

    Plugin Author phoenixMagoo

    (@phoenixmagoo)

    BTW, I had a typo in 3.0.1. Just pushed 3.0.2.

    Sorry about that!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Emojis/smileys in captions’ is closed to new replies.