gpt4 book ai didi

Wordpress 登录表单对齐

转载 作者:行者123 更新时间:2023-11-28 15:15:09 25 4
gpt4 key购买 nike

如何修改此代码以在顶部而非中心对齐登录表单。

***** custom_login.css *****
/* Change background image and font family */
body {
background-image: url(background.png);
font-family: Arial,Verdana,sans-serif;
}

/* Change Width and Height of Logo Image + Add Custom Image File */
.login h1 a {
background-image: url(logo.png);
width: 213px;
height: 97px;
background-size: 213px 97px;
}

/* Add a few changes to the color and style of form itself */
.login label {
color: #454545;
display: block;
margin-bottom: 1em;
font-weight: bold;
}

.login form .input {
font-weight: normal;
}

.login #backtoblog a, .login #nav a {
color: #4da28f;
}

.wp-core-ui .button-primary {
background: #4da28f;
}

最佳答案

没有将您的登录格式置于屏幕中央的元素。也许有一些 .js(脚本)文件会改变它!

你可以看这里: https://www.w3schools.com/css/css_align.asp

关于Wordpress 登录表单对齐,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45038363/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com