New Landing How can we help? Themeforest Theme Support Neighborhood Sort by button too small

Viewing 5 posts - 1 through 5 (of 5 total)
  • #22376
    rene.appeldoorn
    Member
    Post count: 43

    Using Dutch translations, the sort by button is too small to contain the full translations in one line. Two possible solutions: smaller font size, or variable button width. Does anyone know how to change the button width to variable?

    #22773
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Try this, but this is hacking in to the code.

    Go to js/functions.js, around line #1960, #1961, #1962 you found something like this.

    customSelectInnerSpan.css({
    width:   selectBoxWidth,
    display: 'inline-block'
    });

    Change that to

    customSelectInnerSpan.css({
    width:   '300px',
    display: 'inline-block'
    });

    Adjust the width according to your requirement.

    Let me know, what you got.

    Thanks,
    laranz.

    #22822
    rene.appeldoorn
    Member
    Post count: 43

    Thanks Laranz, of course this works perfectly, but it would be better if the width is auto adjusted according to it’s contents. I don’t like changing the code, I’m sure you know why ๐Ÿ˜‰

    #22996
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    You are right, but currently there is only a hacked-version, I will let the developer to know this. maybe the width calculating algorithm fails. ๐Ÿ˜‰

    Maybe in the next update ๐Ÿ™‚

    Thanks,
    laranz.

    #23280
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Will see what we can do about this in an update.

    Thanks,

    – Ed

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register