Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #1228907

    I have a CPT and on those pages for the CPTs the mega menu of our website has the empty column header menu entries with the ‘-‘ showing on the front-end.

    This is only showing on those CPT pages. The rest of the site’s standard pages and posts don’t have the ‘-‘ show up at all.

    Can you adjust the theme to account for CPTs?

    See the private content for the URLs of details of where you can see this.


    Hey Michael,

    I’m very sorry for the late reply. I tried checking you site yesterday and just now, but it’s not loading on my end. Do you have any geo blocking or similar active on the site?

    Best regards,


    Yes unfortunately we have a firewall on our network that blocks any external traffic from specific locations outside the US.
    You will have to access it from a proxy route that has an endpoint that resides within the US – my IT department will not change the firewall settings to accommodate anything outside of this scenario.



    Thanks for the update and info. We have two moderators located in the US, I’ll tag this thread for them.

    Best regards,


    Sorry for the late reply, I took a look at your page and for your “broken” menu an empty column header is being added which should not be there. If you could adjust your script’s logical to not add these would be best, otherwise to remove these try adding this script to the end of your functions.php file in Appearance > Editor:

    function custom_script(){
      	 $( '#menu-item-27209' ).each(function() {
      $( this ).find( '.mega_menu_title' ).remove(); 
    $( '#menu-item-6186' ).each(function() {
      $( this ).find( '.mega_menu_title' ).remove(); 
    $( '#menu-item-27235' ).each(function() {
      $( this ).find( '.mega_menu_title' ).remove(); 
    add_action('wp_footer', 'custom_script');

    I tried first to write this to use .RegExp() or nodeType == 3; to remove these, but I was not successful. It maybe helpful to add a class to these to target these better if you can though your script, but I don’t think this would improve my script that much for these three errors.
    So while this is a “simple” solution I believe that it is also the most reliable for this situation.
    After applying the script, please clear your browser cache and check.

    Best regards,


    I figured out that a locations plugin we were using was altering the title of the current page for use in a vCard option, and that somehow was affecting the megamenu titles.
    I’ve since disabled the vCard option as we don’t use it anyhow, and that fixed this problem.

    You may close the ticket.



    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Mega Menu Empty Column Headers Showing as '-' on Custom Post Type Pages’ is closed to new replies.