Support » Plugin: SVG Flags - Beautiful Scalable Country Flags » After update flags do no longer appear in one line

  • Resolved berndg17

    (@berndg17)


    Hi,

    after updating to 0.8 flags do not longer appear in one line. We are using 4-5 flags in one line in a sidebar – now they need five lines with a lot of space between.

    Why, what was changed?

    Yours, Bernd

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

    (@dgwyer)

    You can add custom CSS to make the flag element go inline. If you upgrade to pro then you can specify inline as a built-in attribute so it’s done for you. Other options include:

    • Random flag on page load.
    • Square or 4:3 aspect ratio.
    • Unique custom flag ID’s and classes.
    • Display tooltips on hover, and even customize the tooltip text.
    • Coming soon: Flag editor blocks.

    What css code do we need to add?

    Found it. Here is the code.

    .svg-flag {
    display: inline-block;
    vertical-align: middle;
    }

    Plugin Author David Gwyer

    (@dgwyer)

    That should do it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.