Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    17
    Plugin Contributions
    0

    Default Stylesheet changes not having any effect

    Problem: Stylesheet editing fails to change background colour of my website, or introduce a pattern. Failure also to introduce an image into the center box.

    Zen Cart 1.3.7 Server Host www.example.com/ Server OS: Windows NT
    Database Host: Local Host/ Database MySQL 4.1.14-nt
    PHP Version: 5.0.5/ HTTP Server: Apache/2.0.54(Win32)
    NotePad was used to carry out editing.

    I wish to change the color of my website background. The colour was #e5edf5 an egg shell blue. I typed in #FF0000; (see below). The change has not taken effect when I log on to my website.

    I then noticed a forum tutorial which demonstrated how to place an image in the centre of the main page (centerBoxWrapper). This I had been unable to do using Define Pages Editor and the HTMLarea button, then selecting define_main_page.php. But again no joy, that did’nt work either.

    Pathways
    Computer>WINDOWS(C:)>Program Files (x86)>xampp>htdocs>store>includes>templates>classic>css>Stylesheet.css

    Computer>WINDOWS(C:)>Program Files (x86)>xampp>htdocs>store>includes>templates>classic>images>background_flowers.jp g

    /**
    * Main CSS Stylesheet
    *
    * @package templateSystem
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: stylesheet.css 5349 2006-12-22 20:34:40Z birdbrain $



    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #FF0000;
    background-image: url(../images/background_flowers.jpg);
    background-repeat: repeat;
    }


    .centerBoxWrapper {
    border: 1px solid #9a9a9a;
    height: 1%;
    margin: 1.1em 0;
    /* create free space at the bottom of the box in which to display the image */
    padding-bottom: 20px;
    /* add the image to the boxes background */
    background-image: url(../images/background_flowers.jpg);
    /* position the image at the bottom and center of the box */
    background-position: bottom center;
    /* EITHER set the image to not repeat */
    background-repeat: no-repeat;

    }

    I only have the classic template in my setup. So editing the incorrect files seems unlikely. In contradiction it would appear that stylesheet.css is not being used, but somewhere another copy of the stylesheet is running True or False I do not know. Both these additions to the stylesheet are documented in the forums.

    I would appreciate any help, advice etc., and I thank you in advance if you can solve this problem.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Stylesheet changes not having any effect

    Are you sure that you are editing the stylesheet for the template that you are using??
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v153 My stylesheet.css changes arent immediately taking effect, standard steps taken.
    By evosmash in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Sep 2015, 02:23 AM
  2. Changes made to Stylesheet not taking effect
    By lani_ezara in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Jun 2010, 02:10 PM
  3. Define Page Editor changes having no effect
    By andymcc77 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Mar 2009, 04:42 PM
  4. custom stylesheet changes not taking effect
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2008, 08:50 AM
  5. Product changes not taking effect
    By nickbulka in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 14 Nov 2006, 03:23 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