Align an image to the text [Solved]
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
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?
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 3 weeks ago
by ClaudioRomeo
Last edit: 2 months 3 weeks ago by ClaudioRomeo. Reason: Marked as Solved
Please Log in or Create an account to join the conversation.
Hi
try to add this custom css in your page
this shall do the trick
CEd
try to add this custom css in your page
Code:
div#maximenuck110.maximenuckh ul.maximenuck {
align-items: center;
display: flex !important;
justify-content: center;
}
CEd
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
- ClaudioRomeo
- Offline Topic Author
- Platinum Member
- Posts: 369
- Thanks: 12
Confirmed: it works perfectly. Thank you so much!
Counselor for better people in a better company
by ClaudioRomeo
Please Log in or Create an account to join the conversation.
Time to create page: 0.651 seconds