This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Yuri 2 years, 8 months ago.

Assigned support staff: Yuri.

Author Posts
July 10, 2017 at 10:12 am #1315598

Marco Barenkamp

I am trying to: make the flags in the menu bigger.

URL of (my) website where problem appears: it´s local

I expected to see: a bigger Flag with the dimensions of width: 35px;
and height: 25px;

Instead, I got: a bad quality of the flag

Is it possibly to set the diemnsions of the flags?

BG

July 10, 2017 at 10:27 am #1315614

Yuri

Hi, currently our flags have the dimension of 18px by 12px since that is the size of the image itself. If you stretch them via CSS it will pixelate. A solution to that is for you to upload your own flag in the WPML admin area. This way you can use a bigger flag and it will display just the way you want it.

This can be achieved in your admin area on WPML > Languages > "Edit Languages" where you will be able to upload your own flag images. I've attached two images exemplifying where you can make this change.

Let me know how it goes.