Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Location
    Austria
    Posts
    112
    Plugin Contributions
    0

    Default what is the "official" method for adding CSS to admin?

    Hi Zen Cart team,

    I'm doing some admin styling which requires CSS changes.

    Query: is there an auto load function for CSS in admin? Or do I need to manually add the reference to /admin/includes/admin_html_page.php ?

    Many thanks, Edith

  2. #2
    Join Date
    Jan 2004
    Posts
    65,993
    Blog Entries
    7
    Plugin Contributions
    261

    Default Re: what is the "official" method for adding CSS to admin?

    Assuming you're using v157 ...

    https://docs.zen-cart.com/dev/admin/...page-css-files

    For customisations specific to a certain admin page:
    /YOUR_ADMIN/includes/css/PAGENAME_*.css (note the _, followed by additional characters)

    For changes affecting EVERY admin page, add to the bottom of /YOUR_ADMIN/includes/css/stylesheet.css directly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 May 2020, 05:50 PM
  2. The Quickest and Easiest way to work out what does what on the CSS style sheet
    By janissaire in forum Templates, Stylesheets, Page Layout
    Replies: 47
    Last Post: 5 Jul 2012, 03:05 AM
  3. What to name the CSS files for Product pages?
    By thebigkick in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 10 Jan 2012, 05:33 PM
  4. What is the Best Shipping Method for this Situation?
    By solarguy in forum Addon Shipping Modules
    Replies: 1
    Last Post: 27 May 2011, 05:43 PM
  5. What are the roles of CSS, Admin, and tpl_ files in design?
    By jbalcony in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Nov 2008, 04:15 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