- Issue created by @HeneryH
- ๐บ๐ธUnited States HeneryH
It is the "justify-content-center" class on the menu block on the block layout page that is messing things up.
But if I don't have that, then the fact that I put the edge-to-edge screws up my alignment.
The goal of having edge-to-edge AND centered is proving a challenge.
- ๐ฎ๐ณIndia ravi kant Jaipur
ravi kant โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia ravi kant Jaipur
The issue is due to custom theme.
I did not find issue in default styles.
So the issue will be fix according custom work of custom theme. - ๐บ๐ธUnited States HeneryH
In your example, the menu is left justified. I noted in my OP that the issue happens when the menu is centered.
If you have testing ability on your site, can you apply the
justify-content-center
class to the menu block in the block layout configuration page?
- ๐ฎ๐ณIndia ravi kant Jaipur
TB Mega menu also have option to add classes on parent and child item's wrapper.
- ๐บ๐ธUnited States HeneryH
So does it look ok on mobile when you do that or not?
- ๐ฎ๐ณIndia ravi kant Jaipur
@HeneryH
I just review again your comments.
I think something is broking due to your custom styles work. - ๐บ๐ธUnited States HeneryH
Can you just confirm that your test shown above results in the proper behavior? You showed centering the menu with a class but you won't confirm that it looks proper on mobile.
- ๐บ๐ธUnited States HeneryH
Ravi, that screen shot is left justified. This post is about center justified.
- ๐ฎ๐ณIndia ravi kant Jaipur
@HeneryH
I have just confirmed with justifying option. I am not getting any issues.
So I am sure that you are getting the issue due to other styles. - ๐บ๐ธUnited States HeneryH
I don't understand the misunderstanding here. The image that you are providing for evidence is NOT center justified.
It is clearly left justified.Am I mistaken? Comparing my image above that is center justified to your image that is left justified.
You are showing a left-justified image to say that my scenario of center justified usage is a flawed issue.
- ๐ฎ๐ณIndia ravi kant Jaipur
@HeneryH
Is possible to share your website URL? so i can check actual possible issue. - ๐บ๐ธUnited States HeneryH
Sure, here it is. Looks fine on desktop, Mobile is messed up.
- ๐ฎ๐ณIndia ravi kant Jaipur
@HeneryH
The issue is due to display flex properly on block-content dev.
This can fix by overwriting styles.
Please see the attached video "issue-is-due-to-default-style.mov" - ๐บ๐ธUnited States HeneryH
Thank you for your time helping me debug this. I knew it was unlikely a bug and appreciate your help. I will investigate with your suggestion.