Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //CSS -> crie um arquivo login.css e coloque na pasta do seu tema.
- /* Custom Login Styles */
- html {background:#D72007!important}
- body {background:#D72007 url(images/bg-body.png); height:100%;}
- #login { margin:0 auto 10.5em!important }
- #login h1 a { /* Title image (The "WordPress Logo"). Remember to update the height and width your image's dimensions */
- background:url(images/logomarca.png) 0 0 no-repeat;
- width:216px;
- height:234px;
- margin:0 auto;
- text-align:center;
- }
- .button-primary { background:#D72007!important; border-color:#F60!important; }
- body form .input { color:#d72007!important}
- //PHP -> Coloque no arquivo functions.php
- //custom login
- add_action( 'login_head', 'custom_login' );
- function custom_login() { ?>
- <link media="all" type="text/css" href="<?php bloginfo( 'template_directory' ); ?>/login.css" rel="stylesheet">
- <?php }
- add_filter('login_headerurl', 'custom_wp_login_url');
- function custom_wp_login_url() {
- return bloginfo('url');
- }
- add_filter('login_headertitle', 'custom_wp_login_title');
- function custom_wp_login_title() {
- return get_option('blogname');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement