-
Hi there,
I’ve been experimenting with the Navigation block to build a secondary menu on the top bar.
It looks like the block comes with default padding on the top and bottom, Am I understanding that correctly?Because of this, the menu box appears taller than expected.
How can I adjust its height so it fits neatly within the container? -
Alvind
Hi there,
By default, the Navigation block doesn’t have any padding applied. If it does, it was probably imported from the Patterns Library.
Can you share the page where I can check the navigation?
-
Yes, it was imported from the Patterns Library. If you try importing any of the Headers, you’ll see they have top and bottom padding. I’ve checked the ‘paddings setting’ but no values are set there.”
Here is the screenshot:
https://postimg.cc/gXxTd7qz -
Alvind
Okay, the height you’re seeing is actually coming from the menu item link’s top and bottom padding. To adjust it, select the Menu Item block, then click Manage selector and choose Link. From there, you can adjust the padding values.
Here’s a reference: https://cln.sh/x4jKXNZFnMctDFCqcNng
- You must be logged in to reply to this topic.