https://www.youtube.com/watch?v=-jzbgz0bINE Prevent activation (and also auto deactivation) of certain plugins function enym_restrict_plugin_activation() { $restricted_plugins =…
Total Theme: Megamenu with column stretching full width below other columns
I’ve got a megamenu on my site which has got three columns and is working fine. My client is asking if I can make another column underneath the three, which spans multiple columns as they want to put a large banner-style link in there. Is this possible?
So what you do is you keep the Megamenu as 3 columns but add a 4th group of items. Then with this CSS you can target the last one to make it 100%:
.main-navigation .megamenu > .sub-menu > .menu-item:nth-child(4) {
grid-column: 1 / -1;
}
Dieser Beitrag hat 0 Kommentare