? No Code Attached Yet ?
avatar joomlaphp
joomlaphp
26 May 2022

What needs to be fixed

The logo must be aligned with the menu.

Default:

logo2

How would you fix it

logo1

.brand-logo img { padding: 0 20px; }

avatar joomlaphp joomlaphp - open - 26 May 2022
avatar joomla-cms-bot joomla-cms-bot - change - 26 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 May 2022
avatar joomlaphp joomlaphp - change - 26 May 2022
The description was changed
avatar joomlaphp joomlaphp - edited - 26 May 2022
avatar richard67
richard67 - comment - 27 May 2022

The proposed fix looks even more ugly.

If you select the leftmost menu item you will see that the menu is in fact aligned, just it’s border isn’t visible normally.

Either make the border of the menu visible with some CSS, or more the menu to the left. Both would look good.

But the solution you propose with your screenshot looks really bad.

avatar richard67
richard67 - comment - 27 May 2022

Furthermore I think it as a deliberate design decision to have it that way. It can be easily adjusted to your taste by using a user.css (formerly called custom css).

So if you ask me I would say close this issue.

avatar chmst
chmst - comment - 27 May 2022

Agree with @richard67. Every template has its own logo, slogan, focus ring, menu style. No matter what we change - it will not fit for every site.

avatar brianteeman
brianteeman - comment - 27 May 2022

It is more about the menu alignment

It is something I have changed on every site so that it is left alignd with the logo

avatar richard67
richard67 - comment - 27 May 2022

It is something I have changed on every site so that it is left alignd with the logo

That would of course look better than the proposed solution to align the menu with the logo by moving it to the right.

Feel free to make a PR.

avatar brianteeman
brianteeman - comment - 27 May 2022

please see #37905 for a proposal

avatar richard67
richard67 - comment - 27 May 2022

Closing as having a pull request. Please test #37905 . Thanks in advance.

avatar richard67 richard67 - change - 27 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-27 08:28:06
Closed_By richard67
avatar richard67 richard67 - close - 27 May 2022
avatar joomlaphp
joomlaphp - comment - 27 May 2022

Thank you

avatar Quy Quy - change - 28 May 2022
Status Closed New
Closed_Date 2022-05-27 08:28:06
Closed_By richard67
avatar Quy Quy - reopen - 28 May 2022
avatar chmst chmst - change - 30 May 2022
Labels Added: ?
avatar chmst chmst - labeled - 30 May 2022
avatar chmst
chmst - comment - 30 May 2022

Aligning the menu exactly with the logo has some side effects. For example: if the focus ring more visible with padding and a thicker line it will be cut as we have seen in some places. I would leave the alignment of elements to the user.

avatar chmst chmst - change - 17 Feb 2023
Labels Added: ?
avatar chmst chmst - labeled - 17 Feb 2023

Add a Comment

Login with GitHub to post a comment