Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Stylesheet changes not applying!?!

    Hi,

    I'm new to Zen Cart so hopefully there is a really obviously solution to my problem.

    I've followed all the guidelines for creating my own template, created all the necessary folders within my template directory (css, images, common, templates) but no matter what I do NONE of the changes i make to the stylesheet.css file show up. even something as simple as body background colour or default font. nothing is happening.

    i even got desperate and tried changing the stylesheet.css file in the default template folder and classic template folder, it made no difference!

    I tried messing with permissions but again, nothing.

    I'm on a Linux server and using latest version of zencart 1.3.7.

    Any ideas whats going on?

    Kyle

  2. #2
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    Did you go to ADMIN>TOOLS>TEMPLATE SELECTION and selected your template?
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

  3. #3
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    Hi

    yes i've done that. and when using the firefox developer tool its clear that my template is the active one. its just that nothing in the stylesheet.css file is showing up...

    one thing, dont know if its relevant, when using the developer tool on the store's homepage, if i go to VIEW CSS, it would usually open a page with the css file details listed, but at the moment i just get this error:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    </BODY></HTML>its probably nothing to do with that though i guess?

    please help!

    Kyle

  4. #4
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    little update... i don't think ANY templates are working... not just the one i've created. they are successfully applied in tools > admin > template selection, but they all have white backgrounds and times new roman text...

    something must be wrong more generally? but the templates ARE active, because if i add lines of text e.g. "testing testing" to the tpl_header.php file in my template, it DOES appear. so the template is active but with no styling whatsoever... classic contemporary green looks identical to my own template in terms of styling...

    any ideas?

  5. #5
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Stylesheet changes not applying!?!

    Got a url? Makes it a lot easier to help when we can see the problem
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  6. #6
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    hi

    sorry its here:

    http://realdnahair.streamlinenettrial.co.uk/store

    this is with a completely fresh install. i just re did it in the last 30 minutes so absolutely everything is clean and unedited. is this how classic contemporary green template looks on everybody's new installs?...

    Kyle

  7. #7
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Stylesheet changes not applying!?!

    No - it's not picking up the stylesheet. Check that it exists in includes/templates/template_default/css.

    Check file permissions set as required by the installation instructions.

    Hope that if this doesn't help, someone else comes along as it's 1am here and past my bedtime!
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  8. #8
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    yep they are definitely in the correct folder. this is so strange.. a brand new installation of zen cart and its not picking up the style sheet? i just dont get it (permissions are correct I believe. i set the things outlined in installation to 777, the rest i left alone as they are set to read for "world" so should be fine. directories are 701 and files 604. its not identical to what the zen cart installation instructions suggest but should work the same for visitors...

    so something else is going on, and i don't think i stand a chance guessing myself!

    K

  9. #9
    Join Date
    May 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    just thought of one more thing i could mention in case it helps anybody help me: could this be anything to do with the mySQL database? i don't know much abotu them so haven't set it up much but it is definitely fucntioning (i logged in with phpmyadmin and could see all of the zencart created tables...).

    i honestly can't imagine what else could be stopping zen cart picking up the default stylesheet.css file? i have touched nothing!!

    The only way i can make it look right is by copying the entire contents of stylesheet.css directly into one of the template files (e.g. tpl_mainpage.php) between standard <style> and </style> style tags. This allows me to see what the site should look like, but it cannot pick up the stylesheet.css file on its own?

    please help anybody, bed time for me now though...!

    Kyle

  10. #10
    Join Date
    Feb 2007
    Location
    NNJ
    Posts
    212
    Plugin Contributions
    0

    Default Re: Stylesheet changes not applying!?!

    Kylelondonuk,

    I attempted to access your style sheet and got a 500 internal error.
    Make sure you've set up your configure.php files correctly.

    Without more information, it would be irresponsible of me to answer you.
    Elliot

    The loves of my life are a good white zinfandel and my dog Homer.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 StyleSheet not Applying
    By ljdream00 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2013, 03:51 PM
  2. Recently upgraded, changes in admin not applying to test site
    By BlackOrchidCouture in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 27 Mar 2011, 07:12 AM
  3. changes not applying
    By shiningfaery in forum Basic Configuration
    Replies: 9
    Last Post: 28 Sep 2009, 12:45 AM
  4. admin is not applying changes /updates?
    By omerhanif in forum General Questions
    Replies: 1
    Last Post: 20 Sep 2009, 05:05 AM
  5. Stylesheet not applying
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Jul 2006, 12:01 AM

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