Support » Themes and Templates » Customize WordPress Login

  • rccard

    (@rccard)


    I have created a file, custom-login.css that works fine for me. But for some reason, my background will not show up. Here is the code I am using in the css…

    html { background: url(../images/news_bg.png) 0 0 repeat;}

    Every other modification I have made is working properly. Any idea why this may not be working?

Viewing 6 replies - 1 through 6 (of 6 total)
  • sam

    (@samfusion)

    Is this image news_bg.png inside wp-contents/themes/theme-name/images/ path? Or try simple css for body bg and repeat etc.

    Thread Starter rccard

    (@rccard)

    Yes. The image is in the images folder. It is my understanding that I can’t use “body” within the custom-login.css file. It has to be “html”, correct?

    sam

    (@samfusion)

    Link?

    Thread Starter rccard

    (@rccard)

    Right now I’m developing locally… not sure what link to give. I understand it would definitely help… sorry.

    Michael

    (@alchymyth)

    where is the custom-login.css located in relation to the /images folder?

    Thread Starter rccard

    (@rccard)

    the image folder lies in my theme folder, as does the custom-login folder, then the custom-login.css file is located in the custom-login folder. So the structure, within the theme folder would be:

    >images
    >custom-login
    >>custom-login.css

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize WordPress Login’ is closed to new replies.