• Resolved Generosus

    (@generosus)


    Good Day!

    We are using your plugin for our website’s lockout (security) page.

    There is a section in our lockout page that displays (inline) our website visitor’s City, State (Region), Country, and Country flag.

    Unfortunately, when we resize the flag to meet our design requirements, the flag shifts upward.

    Details (Before Fix): https://prnt.sc/hYNY5dif55hG

    To fix the above, we had to modify (temporarily) your plugin file as noted here.

    Details (After Fix): https://prnt.sc/9aZ3O-EaKvi9

    Bottom Line (Request):

    We would appreciate if you can update your plugin’s affected file (flag code and shortcode) to add the default attribute "vertical-align" => "middle", and/or other as applicable, to allow changing the vertical alignment of the flag (top, middle, bottom).

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sunny Bundel

    (@sunnybundel)

    Hey,

    Thank you for the feature request.

    I have updated the plugin and implemented it. In the shortcode, the vertical_align attribute can be used to align the flag. Now you can use all the vertical-align CSS attribute values such as middle, top, bottom, etc.

    Here’s an example:

    [useriploc type="flag" height="auto" width="50px" vertical_align="middle"]

    Feel free to let me know if you would like any other feature, and I will add it to the next release.

    Thread Starter Generosus

    (@generosus)

    Hey @sunnybundel,

    Thank you so much. Plugin updated. We appreciate the new feature!

    Yes, we have a couple of other recommendations. Will open a new topic shortly.

    Cheerio!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request | Add New Attribute to Flag Shortcode’ is closed to new replies.