尊重 Header 身高

Respecting Header Height

我需要帮助来调整我的固定小部件和浮动导航。目前,固定小部件不考虑我的浮动导航的高度,并在其固定位置时对齐顶部。我目前使用 "Q2W3 Fixed Widget" 作为我的侧边栏小部件,CSS 用于 "float" 导航。

我希望固定小部件对齐导航的底部,而不是让一半的文本隐藏在导航后面。

如果您需要查看实时页面 demonstration/code,这里是 example。谢谢!

所以我在 https://wordpress.org/plugins/q2w3-fixed-widget/faq/ 查看常见问题解答。您可以按照以下部分中的说明设置底部和顶部边距:

How to prevent overlapping with the footer?

Make sure you have updated plugin to version 2.x. Go to WP admin area, Appearance -> Fixed Widget Options. Here you can define top and bottom margins. Set bottom margin value >= footer height. Check the result.