Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #2119842
Spacing issue - subcategories on the listing page
Closed

Comments

  • timr started the conversation

    Hi,


    For some reason the subcategories have some very odd spacing issues. Any ideas how to remove? Please see screenshot.

    Many thanks.

  •  1,845
    Elated replied

    Hi Tim,

    In order to fix the spacing of the dropdowns please copy the following JS code into Elated Options > General > Custom JS

    jQuery(".select2-results__option").html(function (i, html) {
        return html.replace(/ /g, '');
    });
    

    and the following CSS code into Appearance > Customize > Additional CSS or Elated Options > General > Custom CSS:

    li.select2-search.select2-search--inline {
        margin: 0 !important;
    }
    .select2-results__option:first-child {
        padding: initial !important;
    }

    Hope this helps and if there is anything else that we can assist you with please don't hesitate to ask.

    Kind regards,
    Sean


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • timr replied

    Hi Sean,

    No luck there I'm afraid - still getting the subcategories pushing across the screen..

    This is the tetsite - https://www.amxstudios.co.uk/dashboard/

    Best,

    Tim

  •  1,845
    Elated replied

    Hi Tim,

    Please try replacing custom js from message below with this one:

    jQuery(".eltd-listing-dashboard-holder-outer .eltd-new-listing-item > label[for='listing_category'] + .eltd-profile-input .select2-container").on('click', function(){
        jQuery(".select2-results__option").html(function (i, html) {
            return html.replace(/( )*/g, "");
        });
    });
    

    Hope this helps!

    Best regards,

    Kevin


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  •  1,845
    Elated replied

    Hello there,

    Thank you for writing in.

    I have tested subcategory on my local installation with latest version of theme and all looked good, like on screenshot:

    1657244352.png

    &nbsp code which is displayed before subcategory title is probably added from some 3rd party plugin.

    Try to deactivate all of your 3rd party plugins to make sure they are not causing this issue. If the issue goes away, then you can enable them one by one to find out which one is causing the issue. 

    Also, please activate your parent theme when you deactivate all 3rd party plugins.

    If there’s anything else we can help you with, please let us know.

    Best Regards,
    Milos


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • timr replied

    Hi Milos,

    Still have to problem after removing all the plugins and the custom CSS - so it's thrown me a bit to be honest..


    Tim

  •  1,845
    Elated replied

    Hi Tim, 

    The script should work ( https://www.screencast.com/t/QtfCC7wbl4 ), however since we can't match loading time of the script and the Listing plugin then the selectors used in script can't work. 

    This could be also caused by modifications in Child Theme. Please try deactivating cache plugin and switch to parent theme, then refresh the page and check if this is still happening.

    Best regards,

    Kevin


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.