-
Author
-
December 30, 2015 at 23:29 #95776love2playgamesParticipant
Hi 7queen,
Beside using a plugin i was using and try not to use extra plugin, is there’s a way I can load a background image on the admin login page?
I got the css going, but it wouldn’t work in the Child.css and quick.css?body.login {
background: #486c6d url(“https://www.damndramaqueen.com/wp-content/uploads/damndramaqueen-home-logo.png”) repeat scroll 0 0 !important;
}Please advice, Thanks
Attachments:
You must be logged in to view attached files.December 31, 2015 at 19:55 #95858LauraModeratorHello, it wont work at your style.css but you can add it to wordpress admin css with this function at functions.php
COPY CODEadd_action('admin_head', 'kleo_admin_login'); function kleo_admin_login() { echo '<style> body.login { background: #486c6d url(“https://www.damndramaqueen.com/wp-content/uploads/damndramaqueen-home-logo.png”) repeat scroll 0 0 !important; } </style>'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 31, 2015 at 23:38 #95887love2playgamesParticipantHi Laura,
Hmm, I have no luck on the background? This is the only the functions.php I can find unless is the wrong functions.php ?
/public_html/wordpress/wp-content/themes/twentyfifteen/functions.phpI pasted to the very bottom, save it, uploaded to any of this directory below, no luck for both? Any idea, I must doing something wrong? Can you provide the right directory?
/public_html/wordpress/wp-admin/css
/public_html/wp-admin/css
Please advice, Thanks,
January 2, 2016 at 23:19 #96001LauraModeratorHello, at wp-content/themes/sweetdate-child/functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 3, 2016 at 05:07 #96015love2playgamesParticipantHi Laura,
hmm , I pasted the code in the functions.php. I got HTTP 500 Internal Server Error?
I attached the code in the text file what I have in it.
Help, Thanks
Attachments:
You must be logged in to view attached files.January 6, 2016 at 00:07 #96501LauraModeratorHello, can you share ftp so i can test other ways?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 8, 2016 at 02:06 #97137love2playgamesParticipantHi Laura,
Is there’s a file you can send to me perhaps I can also learn by this way? Just for my future reference if I ever need to fix it myself? Hope not 🙂
Please advice, Thanks
January 8, 2016 at 15:57 #97249LauraModeratorHello, try this code instead
COPY CODEfunction my_login_logo() { ?> <style type="text/css"> .login { background-image: url(http://www.psdgraphics.com/file/abstract-design.jpg); padding-bottom: 30px; background-size: cover; background-attachment: fixed; } </style> <?php } add_action( 'login_enqueue_scripts', 'my_login_logo' );
Change background image as you wish
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 8, 2016 at 23:44 #97409love2playgamesParticipantHi Laura,
I still have no luck at all for the background? I even cleared the browser cache and refreshed the page.
I wonder is it because the site was optimized at one time (which got something to do to the css )?
BTW, do I need to put some kind of code inside the style.css ? Maybe that’s why is not reading? If so, what code do I need?
I attached 2 files for you to review functions and where the file located
Please adivce. Thanks,
Attachments:
You must be logged in to view attached files.January 9, 2016 at 15:25 #97480LauraModeratorHello, well i tested the code at my website and worked perfectly so this might be an issue with your site, can you share ftp and admin credentials? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 10, 2016 at 01:18 #97555love2playgamesParticipantHi Laura,
I will just use the plugin after all. It should already work putting this code, apparently, there might be a conflict with the site optimization and other css / javascripts. I better not to chance it for now. I did paid a lot money for someone to optimized the site. this is more important for me to keep.
I will keep the codes for future use if ever get to the stage it can be use.
Thanks so much for helping big time. 🙂
JimmyJanuary 10, 2016 at 16:27 #97603LauraModeratorHello, it was a pleasure to help you 🙂 If you need anything else, let me know
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 11, 2016 at 22:22 #121438love2playgamesParticipantHi Laura,
I try to get this to work. I am confused from your replied on posted 10261 ? You say; it wont work at your style.css but you can add it to wordpress admin css with this function at functions.php
Am I suppose put thi codes you give me in the “wordpress admin.css and the same codes in the functions.php in the sweetdate-child directory also?
add_action(‘admin_head’, ‘kleo_admin_login’);
function kleo_admin_login() {
echo ‘<style>
body.login {
background: #486c6d url(“https://www.damndramaqueen.com/wp-content/uploads/damndramaqueen-home-logo.png”) repeat scroll 0 0 !important;
}
</style>’;
}Beside share ftp and admin credentials? Can you possible show me the STEPS to do it? That way I know how to do it if I needed it in the future. I’m confused may be that’s why is not working?
Please advise, Thanks,
May 13, 2016 at 20:08 #121736LauraModeratorHello, what i meant is to add that code to your child theme functions.php to see if it works
Sorry for the misunderstanding
About ftp, are the credentials so login to your hosting files, your hosting provider should give you ftp credentials, usually they are, server, username and password, sometimes server is the domain
About admin credentials, those are the ones you use to login to wordpress 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 14, 2016 at 12:48 #121781love2playgamesParticipantHi laura,
I am trying to put a new ticket in for support for other help! I don’t see on the sidebar to create a NEW ticket for this forums, unlike before? Can you tell me why and how to get back in?
Please advice, thanks
May 17, 2016 at 22:06 #122131LauraModeratorHello, you will find it at Get support menu 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.