Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    3
    Plugin Contributions
    0

    Default Custom Stylesheet not loading

    This is my first attempt at using Zencart and I am just implementing a header from an existing website to so the shop matches the rest of the site.

    I have pasted my HTML in the tpl_header.php file and uploaded to my CUSTOM template folder and all appears to load well.

    I wanted the styles for this head to be on a separate stylesheet, so I uploaded my customstyles.css to my CUSTOM/css folder but these styles for the header don't seem to be loading?

    I thought any styles dropped in the CUSTOM/css would automatically load? The styles are very specific so shouldn't be conflicting with any in the standard stylesheet.css.

    Any help would be much appreaciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Custom Stylesheet not loading

    Rename the file from customstyles.css to styles_xxxxxxx.css (replace xxxxxx with whatever you wish), and then it will be automatically loaded.
    .

    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.

  3. #3
    Join Date
    Aug 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Custom Stylesheet not loading

    Thank you!!

 

 

Similar Threads

  1. v155 Stylesheet not loading. Why?
    By sfatula in forum General Questions
    Replies: 6
    Last Post: 17 Aug 2016, 02:33 PM
  2. Admin stylesheet not loading in Chrome
    By deepfrydaniel in forum General Questions
    Replies: 15
    Last Post: 12 Oct 2011, 03:22 PM
  3. Stylesheet not loading
    By Veronika7747 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 29 Apr 2010, 09:49 PM
  4. Stylesheet not loading on IE 6,7 and FF
    By choffman in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Apr 2007, 05:24 PM

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