Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Making menu wider / centered / don't hide overflow in Vue Demo 7


I feel silly but can't seem to figure out how to make the menu icon area wider or at least not hide overflow (that's the actual problem to be honest). I have added text below the buttons and lined those up by applying a custom style and giving it flex-direction: column However, I am unable to make it show the complete menu text either by making the container wider or by not hiding overflow.

I would also like for the menu items to be centered. I couldn't figure that out without getting super hacky.

<a>


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)


OH MY GOSH. THANK YOU SO MUCH. I can't believe how long I was struggling with this, putting in crazy hacks :P THANK YOU!!!!!!!!!!!! happy



Hi happy,

Great. Glad to help you out. If you need any further help please let us know.
All the best with your project!

Regards.


Your Support Matters!

We will highly appreciate your Metronic Review on Themeforest.
Please go to Themeforest Downloads page, select Metronic & leave your feedback.

Hi,

Please try this code for the nav link element in the menu:


<a class="nav-link btn btn-icon flex-column btn-active-color-primary btn-color-gray-400 btn-active-light w-75px h-75px active" data-bs-toggle="tab" href="#kt_aside_nav_tab_projects"><i class="ki-duotone ki-element-11 fs-2x"><span class="path1"></span><span class="path2"></span><span class="path3"></span><span class="path4"></span></i><span class="fs-8 pt-3">Title
</span></a>


The size of the button can be controlled with w-75px h-75px size utility classes.

Regards.



Oh actually I do also need to make it wider, or put the scrollbar somewhere else, because it's overlapping.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(