移动菜单不会以 Astra WordPress 主题为中心。请指教?
Mobile Menu wont center on Astra WordPress Theme.. Please advise?
我尝试使用 Astra for WordPress 的免费版本创建了一个登录页面。除了移动视图上菜单发生的变化外,我对设计非常满意。
在 Astra 选项中,移动菜单应该居中;徽标、CTA 和汉堡包图标。从附图中可以看出,它稍微偏右。
我也尝试过使用 CSS 到 select 元素并使用 text-align: center。
似乎没有任何效果...请帮忙?
图片如下,URL 是:https://t3chbyte.com/dev2/
有一个:
.ast-logo-title-inline .site-logo-img {
padding-right: 1em;
}
在你的 css 中。删除这个。
或设置:
.site-logo-img {
padding-right: 0 !important;
}
在你的 child 主题中 style.css
编辑:
.ast-container {
margin-left: auto;
margin-right: auto;
padding-left: 0;
padding-right: 0;
}
问候汤姆
我尝试使用 Astra for WordPress 的免费版本创建了一个登录页面。除了移动视图上菜单发生的变化外,我对设计非常满意。
在 Astra 选项中,移动菜单应该居中;徽标、CTA 和汉堡包图标。从附图中可以看出,它稍微偏右。
我也尝试过使用 CSS 到 select 元素并使用 text-align: center。
似乎没有任何效果...请帮忙?
图片如下,URL 是:https://t3chbyte.com/dev2/
有一个:
.ast-logo-title-inline .site-logo-img {
padding-right: 1em;
}
在你的 css 中。删除这个。
或设置:
.site-logo-img {
padding-right: 0 !important;
}
在你的 child 主题中 style.css
编辑:
.ast-container {
margin-left: auto;
margin-right: auto;
padding-left: 0;
padding-right: 0;
}
问候汤姆