Archived topic
The gap among the submenus
9 replies · Started by Tugce on November 2, 2020
Hi, how can I decrease the gap between submenus? You can find a screenshot below:
https://ibb.co/jJVrdMG
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Hi Leo, just answered :)
Can you disable your caching first?
Looks like you've already added some CSS for it.
I don't remember how I add CSS on it. I'm using WPML without an additional CSS :)
Hi there,
try adding this CSS:
.main-navigation .main-nav ul ul li.wpml-ls-item a {
padding: 10px 20px;
}
the 10px is the top and bottom padding, this has been reduced from 20px
Hi David,
Many thansk for your help.
Just one more question. How can I increase the width of a container on that column? Increasing 20px didn't affected the horizontal width.
Thanks!
Try this:
.main-navigation ul li.wpml-ls-item ul {
width: 100px;
text-align: center;
}
Many thanks for your support!
No problem :)