Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default logo in admin login

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: logo in admin login

    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.

  3. #3
    Join Date
    May 2009
    Posts
    1,219
    Plugin Contributions
    2

    Default Re: logo in admin login

    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
    PHP Code:
    <div class="login-main-div login-box-shadow">
    <?php echo zen_image(DIR_WS_IMAGES HEADER_LOGO_IMAGEHEADER_ALT_TEXTHEADER_LOGO_WIDTHHEADER_LOGO_HEIGHT'class="login-img"') . PHP_EOL?>
    Of course if you do so you should keep it in mind when you upgrade.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: logo in admin login

    Quote Originally Posted by keneso View Post
    Of course if you do so you should keep it in mind when you upgrade.
    I can't remember who first mentioned it. I think it was carlwhat.

    Create includes/templates/YOUR_TEMPLATE/css/stylesheet_zcustom.php Put your changes in it and it makes the next upgrade or any other changes SO easy.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: logo in admin login

    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.

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,144
    Plugin Contributions
    11

    Default Re: logo in admin login

    ^%#%$#%$#%

    .css -- NOT --- .php

  7. #7
    Join Date
    Mar 2015
    Posts
    165
    Plugin Contributions
    0

    Default Re: logo in admin login

    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.

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: logo in admin login

    Quote Originally Posted by dbltoe View Post
    I can't remember who first mentioned it. I think it was carlwhat.

    Create includes/templates/YOUR_TEMPLATE/css/stylesheet_zcustom.php Put your changes in it and it makes the next upgrade or any other changes SO easy.


    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:
    Code:
    <link rel="stylesheet" href="includes/css/carlwhatMods.css">
    and then put that file here:

    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. v151 Admin Logo / Invoice Logo - update
    By imfsub12 in forum Customization from the Admin
    Replies: 6
    Last Post: 13 Jan 2021, 08:13 PM
  2. v154 logo on invoice does not show after I changed to my logo in admin directory
    By RonGin in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jan 2016, 01:38 AM
  3. v151 Cannot access admin area - login loops back to admin login page
    By Dianne in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 14 Dec 2014, 02:46 PM
  4. Can't Login as Admin; Can't Access Admin Login Dialog Box
    By powrwrap in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 05:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR