queue  35
support
Results 1 to 6 of 6

Thread: Adjust Menu Width

  1. #1
    Junior Member
    Join Date
    May 2017
    Posts
    23

    Adjust Menu Width

    For the About/Blog on this site;

    https://intivahealth.com/

    How would I adjust the Blog Menu item width and also right-justify it?

  2. #2
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    2,078
    Hi, The dropdown menu shouldn't behave like it is in your site. I noticed that you have a jQuery error in your page, this could be interfereing with the working on your sub menu, so I recommend fixing that first. Check the console, it shows this:

    Code:
    Uncaught ReferenceError: Query is not defined at (index):293
    Fix that and if the drop menu issue is still there, let us know.

  3. #3
    Junior Member
    Join Date
    May 2017
    Posts
    23
    Thanks....do you have any suggestions on what might be causing this issue?

  4. #4
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    2,078
    This script is being added to the head of your page, not sure where from:

    Code:
    Query( function( $ ) {
    
    jQuery(".home .header, .home .header .overlay").css("height", jQuery(window).height() );
    
    });
    It's got a typo, the first word is "Query" and it should be "jQuery". Making this change will be a good start. You'll have to find the script and change it manually.

  5. #5
    Junior Member
    Join Date
    May 2017
    Posts
    23
    Found it, thanks. It was something I pasted into the Custom JS section in Theme Options. All fixed now.

    However, the original error for the About/Blog Menu Item is still showing on https://intivahealth.com/ - any advice on how to fix?

  6. #6
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    2,078
    Paste this into the Custom CSS field in the theme options panel:

    Code:
    .dropdown-menu{ min-width:100%; width:auto;}
    #menu-item-342 a{ text-align:right;}