Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #244615

    Hi Guys:

    Here’s the website: http://www.njfamilylaw.net/divorce-attorneys-nj/
    If you mouse over the attorneys and staff link you get a megamenu. I have added some icons in a css table-row below the names.
    There is a large blank space above the icons which appears to be an automatically generated link similar to the link around the name above it. How do I eliminate these auto links above each of the table-cells? I believe they are responsible for the large gap .

    <li id=”menu-item-2562″ class=”menu-item menu-item-type-post_type menu-item-object-page”>
    (original link)
    <span class=”avia-bullet”></span>
    <span class=”avia-menu-text”>Gary L. Borger, Esq.</span>

    <header style=”display: table-row;”>
    (auto generated link)
    <div id=”toprow” style=”display: table-cell;”>
    (auto generated link)

    </div>

    Thanks in advance!

    #245094

    Hi Bru141!

    The html for the “cells” contains an empty link on the first one. There isn’t anything automatically generated in the menu from what it looks like in the source.

    <div style="display: table-cell;" id="toprow">
    <a href="http://www.yoursite.com/divorce-attorneys-nj/attorneys/----/"></a>  <---- this is an empty link which creates a space
    <a href="http://www.----.com/profile/view?id=4---4"><img src="http://www.yoursite.com/divorce-attorneys-nj/wp-content/uploads/2014/03/linkedin.png"></a></div>

    Cheers!
    Devin

    #245186

    Devin:

    Thank you for your response to what was probably impossible question to answer without seeing what was in my menu code. It turns out that I was putting all the text, icons and their links into the “Navigation Label” Block because that was what I thought I saw in the megamenu video. It turns out you leave some text in the “Navigation Label”, but put all your real text, icons and links etc. into the “Description” block and then check the box below it that says, “Use the description to create a Text Block. Dont display this item as a link. (note: dont remove the label text, otherwise wordpress will delete the item).”

    The part where it says, “Dont display this item as a link.” doesn’t seem to apply since you can easily create anchor tags around anything you need linked in that section. I think what it is really saying is “If you use this section, the original link for the selected page will not be applied to anything in here.”

    If you put all the code into the “Navigation Label” Block, the page tries to apply the “Original: link of that page.” (described at the bottom of the menu updates) to everything in the Nav Label block which creates all the strange spacing.

    • This reply was modified 10 years, 7 months ago by Bru141. Reason: clarity
    #245308

    Ah gotcha. Yes I know the mega menu video needs to be redone in addition to almost all of them since the past few updates have changed so much.

    I’m glad you were able to figure out the difference and get it fixed up :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.