如何防止我的标题布局在 Squarespace 中悬停时移动?

问题描述

添加了一些 CSS 以使标题项在悬停时加粗,但现在只要您将鼠标悬停在其中一项上,它就会将这些项的布局向左移动。 这是我目前使用的代码,不胜感激。

.header-nav-folder-item:hover a {
  font-weight: 550;
}

.header-nav-item--collection:hover a {
  font-weight: 550;
}

.header-nav-item--external:hover a {
  font-weight: 550;
}

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)