Shape 5

General Category => Vertex 4 Framework => : headcake February 05, 2018, 10:52:25 AM



: Flex Menu Link Image Alignment
: headcake February 05, 2018, 10:52:25 AM
I thought this would have been a more common issue but I can't find anyone else having the same problem in the forums.

When I add an image to a menu item using the Link Type/Link Image feature, the text for the menu items gets bumped down to the next line. This happens in all browsers on all templates so I'm guessing it's something to do with the Flex Menu. How can I get the icon and text on the same line? I'm sure I'm just missing something.



: Re: Flex Menu Link Image Alignment
: jonahh February 05, 2018, 11:43:02 AM
Hello,

Can you please post a URL of this? It probably just needs some additional CSS that I can give you. Thanks


: Re: Flex Menu Link Image Alignment
: headcake February 05, 2018, 11:54:29 AM
Thanks for the fast reply Jonah, but I don't have it on the live site because it looks bad. I took a screen shot of it and attached it to show so I could turn it off.

I can turn it back on for a short while to let you see it live if you need that.


: Re: Flex Menu Link Image Alignment
: jonahh February 06, 2018, 12:26:05 PM
Ok just add this to your custom.css file and I think this should do it:

:
#s5_nav li a {float: left;}

span.s5_img_span {margin-top: -3px;float: left;}


: Re: Flex Menu Link Image Alignment
: headcake February 07, 2018, 03:48:18 PM
Thanks for the CSS Jonah. It didn't seem to have any effect.

I did the same thing on another site that i'm currently working on for you to see first-hand. Hopefully that will help. As I said it happens with all my Shape5 sites.

headcake.info/SchoolsOut


: Re: Flex Menu Link Image Alignment
: jonahh February 08, 2018, 11:08:38 AM
Did you clear your browser cache? I just tested via web dev tools on your second site and it also worked for me there.


: Re: Flex Menu Link Image Alignment
: headcake February 08, 2018, 11:49:05 AM
LOL! I hate it when it's a basic thing like clearing my cache. Yep, that did the trick.

Thank you.


: Re: Flex Menu Link Image Alignment
: jonahh February 09, 2018, 11:28:24 AM
No worries, most welcome :)