Flag icon too big

More
5 years 5 months ago #76764 by hervemlam
Replied by hervemlam on topic Flag icon too big
Hello,

I tried Edit field > Viewing > Thumbnails > Small thumbnails width=100%, height=100%
But it didn't fix it.

I also tried Edit field > Viewing > Layout > Thumbnails > Category/Item View = Original
But the result is... the flag isn't displayed at all, a link (to the item) is displayed instead! (See circled in red in screenshot.)

What should I do?

Good night.
HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #76768 by ggppdk
Replied by ggppdk on topic Flag icon too big
Hello

problem comes from the new code to auto-size the image

while allowing browser to select the image thumbnail

e.g.
small thumb will be chosen for mobile
medium thumb will be chosen for tablet
large for large tablets and desktops

a part of the above work added the CSS that causes this issue for you


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #76769 by hervemlam
Replied by hervemlam on topic Flag icon too big
Thanks ggppdk.

Understood.
So what should I do to have my flag height always 11px (and width 16px most of the time, but sometimes different)?

HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #76864 by hervemlam
Replied by hervemlam on topic Flag icon too big

Hello,

Still don't know why this flag has extended height of 35.2? (
link )
I want to display original pictures for all flags, as it was in earlier version of Flexi.
The Swiss flag picture is 11x11 px, whereas most of the others are 16x11.
How could I achieve this please?

Good night.
HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5
Last edit: 5 years 4 months ago by hervemlam.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #76866 by ggppdk
Replied by ggppdk on topic Flag icon too big
Hello

try adding this to your Joomla custom CSS
(every template has a place to add custom CSS)
or just add it to some CSS file that is loaded

Code:
.value.field_pays img.fc_field_image { height: 16px !important; width: 16px !important; }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #76867 by hervemlam
Replied by hervemlam on topic Flag icon too big
Thanks. This way I managed to... have all of them 16x16 px. But this is not what I want.
What I want is to have all of them height=11px, and width original size (most of them are 16px, but some are less, like 11px for Swiss flag, are some are more).
I'm not sure if I express myself correctly and clearly so you understand well?

...Besides, what's a bit annoying is, while trying to do that, it seems I've lost my background picture (the one with the CDs). Don't know why. I didn't modify anything about that.
As a comparison you can see it's still here in the English version of the website (obviously note the same template).
Weird, isn't it?

HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.402 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline