• Resolved javamwa

    (@javamwa)


    Hello,
    I would appreciate any help for adjusting the drop down menu: I would like to centre the text in my drop down menu (it is now left justified) and also to remove the thin grey border and dividers in the drop down menu.

    Out of curiosity, is it possible to make the drop down menu only as wide as the widest item (similar to what you can do to cells in Excel)?

    Thanks for any help! My website is

    https://www.lavanyabalasubramanian.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Do you still need any help with this? I noticed you’ve already made a bunch of tweaks to the menu in your custom CSS. Is there anything else you’d still like to do, or are you all set?

    Out of curiosity, is it possible to make the drop down menu only as wide as the widest item (similar to what you can do to cells in Excel)?

    You can tweak specific submenu widths with CSS, but I’m not sure you can make them adjust automatically to the longest element contained within.

    Thread Starter javamwa

    (@javamwa)

    Hi Kathryn,
    It’s been an intensive learning curve for me over the past two days–I ended up reading through some CSS and htmal tutorials, and also learned that I could use the Inspect Element tool to look at specific CSS for an area of the site. So I ended up mashing together some code which helped me resolve the changes I wanted to make to the site, hopefully in a way that will work well on all screens, and not just mine ?? Don’t know if the code is elegant but it seems to work at least!

    Thanks very much for your reply!

    Moderator Kathryn Presner

    (@zoonini)

    Wonderful! Kudos for diving into some CSS learning – your site is looking really nice.

    In the future, if you manage to sort out your own issue, it’s great if you could come back to your thread and mention that, so folks aren’t trying to help with something you’ve already managed to resolve on your own. Thanks!

    I’ll mark this thread as resolved too, but feel free to start a new one if you need help with anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘changing drop-down menu’ is closed to new replies.