Align an image to the text [Solved]

Align an image to the text [Solved] was created by ClaudioRomeo

Posted 2 months 5 days ago #71007
Hi.
For the first item of my maximenu I use an image, the logo of my customer. It points to an article (different from the home page home). It works perfectly, but...
As you can see here , the image is not vertically aligned to the text. The overall effect is unpleasant.
I tried different settings for the Maximenu CK Params → Image position option but nothing works.
The image dimensions are set to 48x48 pixels, but I see that the dimensions of the box containing the image are 84x84 and I don't why.
How can I vertically align the image to the text?

Counselor for better people in a better company

Last Edit:2 months 5 days ago by ClaudioRomeo
Last edit: 2 months 5 days ago by ClaudioRomeo. Reason: Marked as Solved

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

Replied by ced1870 on topic Align an image to the text

Posted 2 months 5 days ago #71008
Hi
try to add this custom css in your page
Code:
div#maximenuck110.maximenuckh ul.maximenuck { align-items: center; display: flex !important; justify-content: center; }
this shall do the trick
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by ClaudioRomeo on topic Align an image to the text

Posted 2 months 5 days ago #71009
Confirmed: it works perfectly. Thank you so much!

Counselor for better people in a better company

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

Time to create page: 0.851 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 501 guests and 3 members online