Align an image to the text [Solved]

More
11 months 4 weeks ago - 11 months 4 weeks ago #71007 by ClaudioRomeo
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: 11 months 4 weeks ago by ClaudioRomeo. Reason: Marked as Solved

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

More
11 months 4 weeks ago #71008 by ced1870
Replied by ced1870 on topic Align an image to the text
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

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

More
11 months 4 weeks ago #71009 by ClaudioRomeo
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.213 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 581 guests and no members online