Raystar7 Posted February 25, 2004 Posted February 25, 2004 :rolleyes: Hi everyone, I've toyed around with the files and html and quite happy with my knowledge I've learned, and from this forum - but I have one question please if anyone can be kind to assist... Wanting to change the colours, I changed each stylesheet.css file (I found 2), but when I refresh my site, no colours have changed. I had success with changing buttons and the small cartoon pictures. Any ideas please? If there's another stylesheet to change, can someone tell me the "path" please? Will it change colours throughout the site? Thank you [email protected]
241 Posted February 25, 2004 Posted February 25, 2004 There are indeed two stylesheets one for the catalog and one for the admin it is the one for catalog that you make changes in order to change the catalog No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Raystar7 Posted February 25, 2004 Author Posted February 25, 2004 Hi, thanks for answering. I changed both stylesheets, but neither have made any colour changes to my site. Do I have to change the "corner_right.gif" and "pixel_trans.gif" ? With the 2 stylesheets I just changed the colour codes, ie #000000 to #0000FF, but refreshing, nothing's different. Any ideas please? Thanks!
Raystar7 Posted February 25, 2004 Author Posted February 25, 2004 To further add, I used my FTP software and downloaded the stylesheets.css and they were the amended versions I uploaded... :rolleyes:
241 Posted February 25, 2004 Posted February 25, 2004 try clearing your internet cache as you are possible only seeing files loading from your temp internet files. You keep mentioning two stylesheets are both of these in the catalog directory or is one in the admin/includes directory No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Raystar7 Posted February 25, 2004 Author Posted February 25, 2004 Hi Steve :) Each stylesheet.css is in a different directory path, unfortunately I'm at work and don't have access to ftp, but will have a look this evening. I pressed F5 key to refresh - it refreshed by buttons okay and graphics, just the stylesheet.css files. I'll take a look later, maybe I have 3 by mistake, and have yet to hunt down the actual one - but my admin area didn't change colour either. I've changed text colours okay using their ***.php files. Thanks for replying, I'll update this evening. Ray :)
AlanR Posted February 25, 2004 Posted February 25, 2004 As 241 mentioned a simple refresh will not download a fresh copy of the stylesheet. You'll need to empty your cache. Another trick is to set your browser to use a local stylesheet, on your pc. D/L a copy of the remote version and work with that. Then you can tinker till you're happy and upload the new version. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Raystar7 Posted February 25, 2004 Author Posted February 25, 2004 Hi Alan and John, and anyone reading this. I deleted files in internet options and the cache using "disk cleanup" but still the files don't update with my changed files. These are my stylesheet paths: www/-catalog-/stylesheet.css (v1.56 30 June 03) www/install/templates/mainpage/stylesheet.css (v1.4 9 July 03) I wanted to change the dark grey bars to black, and the faint grey background shades to white. Is there another stylesheet somewhere? Thanks Ray
Raystar7 Posted February 25, 2004 Author Posted February 25, 2004 So Steve, I meant you not a stranger called John!
Guest Posted February 25, 2004 Posted February 25, 2004 This is not a default osc installation, what contribution have you installed? The_Bear
241 Posted February 25, 2004 Posted February 25, 2004 You have installed the osc so you no longer need the install directory and can forget about it and any stylesheet contained within it. The only stylesheet of concern is the catalog/stylesheet.css Ps. The_Bear I just tried to reply to this and got logged out No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Raystar7 Posted February 26, 2004 Author Posted February 26, 2004 Hi guys, thanks again for your help. The one I got a friend to download then upload was: osCommerce 2.2 Milestone 2 I've made lots of changes otherwise, so worried if I have to have osc reloaded as I'd lose my customisations... but I can't see why the amended stylesheet.css isn't changing the appearance... I've cleared all cache/temp files, at home and my work PC. Thank you :rolleyes:
241 Posted February 26, 2004 Posted February 26, 2004 do you use a template contribution such as BTS or STS No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Raystar7 Posted February 26, 2004 Author Posted February 26, 2004 Hi again :) I don't use any modules etc to OSC, not sure what a BTS or STS is, sorry. I'm using CPanelX if that helps. Ignoring the install directory stylesheet, I have these 2: -catalog-/templates/main_page/stylesheet.css (which is approx 2,600 bytes, v1.4); and -catalog-/stylesheet.css (which is approx 6,300 bytes, v.1.56) I've altered the colours (ie to #000000) but nothing's changed, and cleared temp files and cache files. I added new buttons okay and replaced the cartoon icons with small white boxes fine, it's just the grey-ish-blue I want to change to black, and the faint background greyish shade to white. I've used a color picker to check each colour I'm changing and don't think I've missed these colours. Does anyone know which colours refer to the actual dark-grey heading backgrounds and faint box backgrounds? Thanks :)
mevans Posted February 26, 2004 Posted February 26, 2004 I'm having the same problem, I can make changes to the stylesheet.css (in catalog) but they don't appear online. I still get the white background, and grey boxes. I'm trying to add a jpg for my background, and change the colour of the fonts and boxes. I've tried through wordpad, notepad and a program I downloaded - Morphon CSS Editor 1.3.6. Can anyone give me an idea of why I can see my changes in the stylesheet.css (they save, I can see them when I pull it back up) but they are not showing up on the website? My understanding was that the stylesheet was the only file you had to revise to make cosmetic changes like this.
Raystar7 Posted February 26, 2004 Author Posted February 26, 2004 Hi Mevans I think the stylesheet.css is more for changing the backgrounds - but alas, changes still don't appear. However, this may help... Open up a window of your website, and another window for your admin area. On each screen of your website you wish to change text and colours etc, write click somewhere and note the *.php file, ie "account_edit.php". In Tools, Define Languages go to that *.php file and you can make changes (long as you have the permissions set to overwrite (otherwise use an ftp program, but make a back-up of the php files first). Simply insert <font color="#0000FF"> (or whatever colour number you need, 0000FF is blue) after the ' and before the text (you can change it too). i.e. define('NAVBAR_TITLE_1', 'My Account'); define('HEADING_TITLE', 'My Account Information'); becomes: define('NAVBAR_TITLE_1', '<font color="#0000FF">My Account'); define('HEADING_TITLE', '<font color="#0000B0">View My Account'); There are quite a few of these within each *.php file and takes an hour or so. You can also add links within the ' and ' along with the new colours etc, and once saved go to your other window and refresh to see the difference. If you get an error, make sure you didn't delete a ' or )... For changing the text to read something else in the left and right column boxes, I edited english.php but had to use the ftp program. The easier ftp program I've found is from www.rightftp.com I removed the cartoon pictures in the top right corner etc by saving a whitebutton.gif (you can use PowerPoint too, make a slide very small and then save_as and select save as *.gif). I then right clicked on each cartoon pic I didn't want and wrote the *.gif name. I then copied my whitebutton.gif and each time renamed it to a gif I'd written down. I then uploaded these gifs to catalog/images and it overwrote them, and they no longer appear. I'm only a novice, but found this easy and quick. If you find a way for the catalog/stylesheet to update your colours/layout, please let me know, mine's not making any difference either - even though I've cleared my cache and downloaded it to check it's my new version... thanks Goodluck!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.