导航菜单中的文本打开my site 在桌面版本中容器溢出(在移动设备上没有问题)。
如何包装文本以防止溢出?
谢谢
如果您使用浏览器的检查器f12,您可以看到您的列表项应用了此CSS。。。
.sf-menu li {
white-space: nowrap;
}
您需要将其更改为。。。.sf-menu li {
white-space: normal;
}
如果您已经创建了child theme 你可以在那里改变。否则,在管理中,转到外观>自定义>附加CSS并添加上述CSS。我目前正在为我的wordpress插件创建管理窗口,我的目标是使用“wordpress管理员”的不同选项卡中已经使用的相同CSS创建此屏幕。My question is if there is any link (or list of links) where all the CSS classes used by the Wordpress core are defined to render the \"Wordpress administrator\" (类似于Bootstrap的文档link)目前