At the top of my page, I have a div called header_full_width. This div spans 100% of the width of the page. Within this div, there is a container, a row, a col-md-12 div, and an unordered list with list items and links.
My issue is that on mobile devices, these links are not centered and extend beyond the page, causing a horizontal scrollbar to appear.
I have attempted to use the classes align-items-center and other HTML code to center the links, but have been unsuccessful.
<div class="header_full_width">
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="header_links_ul header_links_ul_left d-flex justify-content-center justify-content-md-start">
<li><a href="https://kemenyem.hu/" class="header_top_links" title="Home page">Home page</a></li>
<li><a href="https://kemenyem.hu/informaciok" class="header_top_links" title="Information">Information</a></li>
<li><a href="https://kemenyem.hu/aktualis-akciok" class="header_top_links" title="Current promotions">Current promotions</a></li>
<li><a href="https://kemenyem.hu/kiemelt-termekek" class="header_top_links" title="Featured products">Featured products</a></li>
<li><a href="https://kemenyem.hu/hirek" class="header_top_links" title="News and interesting facts">News, interesting facts</a></li>
<li><a href="https://kemenyem.hu/elerhetosegek" class="header_top_links" title="Contact information">Contact information</a></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
On mobile devices, I would like these links to be vertically and horizontally centered, stacked on top of each other.
https://i.sstatic.net/Bikxq.png
https://i.sstatic.net/RsNeN.png
Link to the demo website: kemenyem.hu