Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2012
    Location
    Cleveland, OH
    Posts
    4
    Plugin Contributions
    0

    Default Any change I make to stylesheet.css messes up everything

    Hello all,

    I am new to Zen-Cart & although I have some HTML experience, I'm in no way an expert. I apologize if my problem seems trivial, but I'm extremely frustrated at this point.

    I created my own /CUSTOM folder within my store/includes/templates/CUSTOM (as per the instructions), and created the /css folder within that; I copied the stylesheet.css (from the store/includes/templates/template_default/css folder) to that new css folder within my /CUSTOM directory so I could modify the stylesheet to my specifications. The problem is, ANYTHING I change results in a loss of all formatted structure to the page & looks like it's just displaying in HTML format only, as if it didn't have a style sheet. See my site: www.causefortshirts.com/store for an example of what I mean. If I start with the original stylesheet.css file as provided in store/includes/templates/template_default/css and, for example, ONLY change the background color in the body it messes up everything, let alone trying to change more than one line of code. What I am doing wrong??

    Yes, I "update" the template in my Zen-Cart Admin Tools section.

    Also, if I restore the original stylesheet.css as provided by Zen-Cart, it works fine again, but it's back to not being customized.

    I am editing the stylesheet code in Dreamweaver CS5.

    I am very discouraged and frustrated right now because it seems I'm not able to modify the look of this thing at all.

    Thanks in advance for any help anyone can give me.

    Lara

  2. #2
    Join Date
    Jan 2004
    Posts
    60,330
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: Any change I make to stylesheet.css messes up everything

    Visiting your stylesheet: http://www.causefortshirts.com/store...stylesheet.css
    brings a 403-Forbidden error:
    403 Forbidden

    You don't have permission to access /store/includes/templates/cft_template/css/stylesheet.css on this server.
    Have you been altering the .htaccess files that come with Zen Cart? Or adding your own which maybe are causing conflicts?

    Article from the FAQs section: http://www.zen-cart.com/content.php?...css-stylesheet
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Jun 2012
    Location
    Cleveland, OH
    Posts
    4
    Plugin Contributions
    0

    Default Re: Any change I make to stylesheet.css messes up everything

    No, I have not made any changes to the .htaccess files nor have I added my own.

  4. #4
    Join Date
    Feb 2010
    Location
    New York
    Posts
    1,629
    Plugin Contributions
    14

    Default Re: Any change I make to stylesheet.css messes up everything

    check your css folder permissions should be 755

  5. #5
    Join Date
    Jun 2012
    Location
    Cleveland, OH
    Posts
    4
    Plugin Contributions
    0

    Default Re: Any change I make to stylesheet.css messes up everything

    I think I may have figured it out. The permissions set on the stylesheet.css were very minimal. I changed them and now it displays correctly.

    Do you still get that error when trying to view my page?

  6. #6
    Join Date
    Jun 2012
    Location
    Cleveland, OH
    Posts
    4
    Plugin Contributions
    0

    Default Re: Any change I make to stylesheet.css messes up everything

    rbarbour: THANK YOU! I will check them again to make sure that's where they are.

    Thank you very much for the help.

  7. #7
    Join Date
    Feb 2010
    Location
    New York
    Posts
    1,629
    Plugin Contributions
    14

    Default Re: Any change I make to stylesheet.css messes up everything

    no errors - looks like your good to go!

 

 

Similar Threads

  1. v150 updating my images doesn't make any change after moving ZC to another folder
    By dagadesign in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 30 Jan 2012, 02:57 AM
  2. admin small image setting messes everything
    By poosk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Apr 2009, 07:06 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
  •