so the admin is mobile now. but when i go to my login screen, the logo i have used is not sized down. is there a specific size i should use or was something missed during our upgrade
so the admin is mobile now. but when i go to my login screen, the logo i have used is not sized down. is there a specific size i should use or was something missed during our upgrade
You might have to fiddle with the code if you have a wide logo:
https://docs.zen-cart.com/user/new_u.../#admin-header
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
You may also add responsive class to the image
https://www.w3schools.com/howto/howt...responsive.asp
The class used is .login-img
You may also add your own class to:
YOUR_ADMIN/login.php
line 86
Of course if you do so you should keep it in mind when you upgrade.PHP Code:
<div class="login-main-div login-box-shadow">
<?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT, 'class="login-img"') . PHP_EOL; ?>
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
True enough, but we're talking about an admin side change.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
^%#%$#%$#%
.css -- NOT --- .php
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
someone create a plugin for this lol. i have no clue even after reading all that stuff. but i am somewhat self sufficient. i have reduced the size of my database when i do backups from 1gig to 130 MB. learned how to read the error logs properly. made simple language word changes and updated one or two old plugins.
on the admin side for v157, i've added a line here:
https://github.com/zencart/zencart/b...l_head.php#L65
that is something of the nature:
and then put that file here:Code:<link rel="stylesheet" href="includes/css/carlwhatMods.css">
MY_ADMIN/includes/css/carlwhatMods.css
this ensures that file will cascade to be the latest style loaded.
the problem one runs into is not every admin page makes use of the admin_html_head.php script. certainly a bunch more were converted in the unreleased v158. the other problem (with both css placements) is the use of !important in other css scripts; of which frankly i am not a fan.... but i understand....
best.
Bookmarks