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

    Hello!

    I need auto resize submenu depending on the length of the text.

    How can I do this?

    #84051

    Hi,

    You can do something like this for the meantime.

    .main_menu .menu ul {
    width: auto;
    }

    #top .main_menu .menu li ul a {
    max-width: 1000px;
    min-width: 250px;
    width: auto;
    }

    There is a better solution via javascript. I’ll get back to you with it.

    Regards,

    Ismael

    #84052

    Okey, I’m waiting for your reply.

    Thank you very much.

    #84053

    Hello, Ismael!

    Did you find a solution?

    Thank you!

    #84054

    Hi samiyusuf,

    As far as I know it would be a bit of a tricky solution with javascript though if Ismael is working on it I’m sure he provide it if he can. Generally support isn’t able to create custom code like that but we occasionally do as an exercise or if we are already familiar with the request.

    Ismael is tagged on the topic so if he is able to, he will respond here with the code :)

    Regards,

    Devin

    #84055

    Hello!

    Did you find a solution?

    I’m waiting for this and other people too…

    Thanks! ))

    #84056

    Hey samiyusuf,

    It doesn’t look like Ismael has been able to address this and find a work around for you. If you are still interested in having a script/function created to achieve this effect I would recommend looking into a freelance web developer with a specialty in javascript.

    As I said, I’m not sure what Ismael had in mind but typically we aren’t able to create in dept custom javascript or files via support.

    Regards,

    Devin

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

The topic ‘Submenu auto resize’ is closed to new replies.