Site logo

Archived topic

Image in the menu on mobile

5 replies · Started by David on April 26, 2022

Viewing posts 1–6 of 6

Hello,
I´m not sure whether this is a question for you or ubermenu3 plugin authors....

I have a secondary menu above the header. In the desktop, the menu image is correctly positioned left to the text, both text and image are aligned to the right margin.
On mobile, text stays on right side, but the image is shifted to the left margin. Where is the problem? If I use icon instead of image, than it is properly positioned next to text even on mobile.

Thank you,
David G.

Thank you for providing the link.

Viewing your website, I can confirm that the layout of this Log in/Sign up button is indeed set through the plugin you’re using.

With that said, it would be best to reach out to them for assistance regarding this.

Otherwise, if you would like to overwrite the layout through custom code, here is a CSS you may try adding in Appearance > Customize > Additional CSS:

@media (max-width: 768px) {
    ubermenu .ubermenu-item-layout-image_left>.ubermenu-target-text {
        padding-left: 20px;
    }

    .ubermenu-target.ubermenu-target-with-image {
        display: flex;
        justify-content: flex-end;
    }
}

Hope this clarifies. :)

Great, thank you very much!!
D.

You’re welcome David! Glad to be of assistance! Feel free to reach out anytime you’ll need assistance with anything else. :)

This archived topic is closed to new replies.