Small fix for the Evo Menu

by coRpSE

Tue Feb 24, 2026 2:25 am
Administrator
2396 Posts
This is not a "major" fix, but a small fix none the less. All it is, is an alignment of the content of the blocks if the block goes wider than the content. Right now, it stays of the left. This fix centers it but also I added a missing border by default.

You have 2 options on how to fix it. You can either redownload it and grab the block and upload that to your site overwriting the one you currently have, OR, follow these instructions below to implement the simple fix.

OPEN: public_html/blocks/block-Evo_Menu.php

FIND:

Code: [ Select all ]

.menu-container {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 250px;
    font-family: Arial, sans-serif;
}


REPLACE WITH:

Code: [ Select all ]

.menu-container {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid;
    overflow: hidden;
    max-width: 250px;
    font-family: Arial, sans-serif;
    margin: 0 auto;
}



If you look closely, you will see that all I did was add in these 2 lines:

Code: [ Select all ]

    border: 1px solid;
    margin: 0 auto;


That's it. Just save and close and you are good.

Thankful People 3 user(s) is/are thankful for this post.