-
erwinmedia
I have a mega menu as a block hook element, and within that mega menu, I have three containers. I want to link these containers as a whole. I followed your tutorial for this, and it works. However, when I link the H3 title, it inherits the style of a menu item, which I don’t want. How can I prevent this from happening?
You can see that I have linked the H3 of the first block, but not the other two.
-
Hi there,
Try create a custom selector at customizer > typography > add typography > custom >
body .main-navigation .gp_mega_item .has-container-link a
.Then you should be able to set the typography and override the menu item typography.
-
erwinmedia
Hi Ying, thanks. But I still got that padding.
-
Hi Ying, thanks. But I still got that padding.
Sorry, what padding?
-
erwinmedia
-
I see, in this case, you’ll have to use CSS:
body .main-navigation .gp_mega_item .has-container-link a { padding-inline: 0; }
- You must be logged in to reply to this topic.