-
AuthorPosts
-
April 10, 2017 at 11:03 pm #775706
I have read the forums in depth. I found a random fix, but it won’t work on my enfold > Gym Membership demo/base install. On main menu links (no dropdowns) I want the main link, and then under each link some simple link description text.
I have already read the “fixes” here on the site, and they won’t work. If I add anything to the functions.php file, I get errors/can’t access site…copying the “class” given in earlier examples. It seems what I want to accomplish is simple enough, but maybe not. Please help!
Thank you!
April 11, 2017 at 8:15 am #775864Hey jellyfish007,
What code have you tried? Please post a link to your site so that we can have a closer look.
Best regards,
RikardApril 11, 2017 at 2:33 pm #776053Thanks for the response! I appreciate you! I have tried the code listed here: https://kriesi.at/support/topic/menu-descriptions/
I actually want it to look like the example the OP had on that link.
However, when I try, it breaks everything – adding that class listed fubars my functions.php file.
I have included website details and access to my site & FTP if you want to take a stab at it please! Thank you!!
April 12, 2017 at 8:27 pm #776871Can someone please help me with this?
April 13, 2017 at 2:11 pm #777266Hi,
Please refer to this post – https://kriesi.at/support/topic/word-wrap-in-menu-or-have-the-menu-on-two-lines/#post-283385
Best regards,
YigitApril 13, 2017 at 3:28 pm #777335Thanks, i saw that post too – but I don’t want the text on the second line to be a link – I would like it to just be descriptive text (explaining the link) Like this:
Menu link <–this would be a link
Couple of words <–this would be the description of the page/sectionEnd results would maybe be like this:
I REALLY appreciate it
Thank you!April 13, 2017 at 9:02 pm #777526Hey!
Can you provide us your web site, so we can see if we can disable the text .ink below the basic links?
Regards,
BasilisApril 13, 2017 at 9:31 pm #777545Of course! Thank you! I really appreciate you looking. It is in private area –
April 17, 2017 at 5:38 pm #778831Is someone looking into this? I would really like a simple solution…please! Thank you!
April 18, 2017 at 2:36 am #779030Hi,
I’m sorry for the late response. Please refer to the previous thread but replace the css code with the following.
.menu-break { display: block; line-height: 0; bottom: 25px; position: relative; font-weight: normal; font-size: 11px; } .avia-menu { top: 30%; } .av-main-nav > li > a { height: 20px !important; line-height: 20px !important; } .av-main-nav > li > .menu-break { font-weight: normal; font-size: 11px; padding-left: 13px; bottom: -10px; position: relative; }
And then add this script in the functions.php file:
function ava_custom_script_fix(){ ?> <script> (function($){ function a() { $('.av-main-nav > li > a').each(function() { var link = $(this), menub = link.find('.menu-break'); menub.insertAfter(link); }); } a(); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_fix');
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.