Guest Posted April 27, 2012 Share Posted April 27, 2012 Hi Guys, I need to change the box header colour to something else. I have edited the stylesheet.css file in /catalog/stylesheet.css I change the infobox background to #ff0000; but nothing happened. Is it stored somwhere else. Regards Bruce What I changed it to. .infoBox { background: #FF0000; } .infoBoxNotice { background: #FF0000; } .infoBoxNoticeContents { background: #FF0000; font-family: Verdana, Arial, sans-serif; font-size: 10px; } TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #FF0000; color: #FFFFFF; } TD.infoBox, SPAN.infoBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; } Link to comment Share on other sites More sharing options...
al3ks Posted April 28, 2012 Share Posted April 28, 2012 @@thaiexportco the class should be called .infoBoxHeading Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
al3ks Posted April 28, 2012 Share Posted April 28, 2012 I've been trying to do this quite a while now, anyone know how I can change the color of my sub-categories in the categories info box? Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
Guest Posted April 28, 2012 Share Posted April 28, 2012 @@thaiexportco the class should be called .infoBoxHeading Thanks all sorted now Much appreciated Thaiexportco (Bruce) Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2012 Share Posted May 2, 2012 Hi Guys when I click Add to Cart I get this error message. Any reason why and a fix if you know please Thanks in advance Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosweb25b/b553/nf.magicpigeonflight1/public_html/tec/catalog/includes/languages/english.php:255) in /hermes/bosweb25b/b553/nf.magicpigeonflight1/public_html/tec/catalog/includes/functions/general.php on line 45 and line 45 in general.php is //// // Redirect to another page or site function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } line 45 header ('Location: ' . $url); tep_exit(); } Thanks in advance Thaiexportco (Bruce) Link to comment Share on other sites More sharing options...
germ Posted May 2, 2012 Share Posted May 2, 2012 Click the "Headers already sent" link in my signature. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2012 Share Posted May 2, 2012 Click the "Headers already sent" link in my signature. Thanks heaps, so easy to understand once you know Regards Bruce Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2012 Share Posted May 2, 2012 Hey guys me again. I need to add about us and Fair Trading to my information box. Same as shipping, privacy and conditions would be perfect. Could someone please explain or point me in the right direction. Thanks in advance. Regards bruce Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2012 Share Posted May 3, 2012 Ok. Have managed to add them to the list in the information box when you hover they show a file location of fair.php which I have added to \includes\languages\english directory but when I click on the link it comes up with a 404 error page not found. Maybe I need to add something into a database or similar. QAny clues are much appreciated. Regards Bruce this is a link to my shop if it helps http://www.oziwf.com Link to comment Share on other sites More sharing options...
Guest Posted May 3, 2012 Share Posted May 3, 2012 HOW TO ADD ITEMS TO THE INFORMATION BOX HEY I MUST BE LUCKY OR THOROUGH ONE OF THE TWO. I figured it out by doing the following. add these lines to the \includes\filenames.php file define('FILENAME_ABOUT', 'about.php'); // change about to whatever suits you I used about for "About us" and fair for "Fair Trading." define as many as you need. Then modify \includes\modules\boxes\bm_information.php add the following line at about line 43 ' <a href="' . tep_href_link(FILENAME_ABOUT) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT . '</a><br />' . copy the line above it and simply change the name to whatever you like making sure it matches all the names you have already used. again add as many as you need. Then modify \includes\languages\english\modules\boxes\bm_information.php add the following line at about line 43 ' <a href="' . tep_href_link(FILENAME_ABOUT) . '">' . MODULE_BOXES_INFORMATION_BOX_ABOUT . '</a><br />' . copy the line above it and simply change the name to whatever you like making sure it matches all the names you have already used. again add as many as you need. Then create your \includes\languages\english\about.php file detailing your about us or whatever information. A good trick here is to copy a file like conditions.php and then edit it to suit. create a file for each type of information you have added. I hope this is accurate and of help to some people. Regards Bruce Link to comment Share on other sites More sharing options...
R B Posted May 3, 2012 Share Posted May 3, 2012 How do I edit the CSS? I want the header where the logo is to ne taller? Do I need to do this with an html editor (dreamweaver)? Can it be done from within the OScommerse site? I looked everywhere on the site but could not find css editor. open catalog/stylesheet.css find this part of the code (open it up in a text editor like the above poster said) #header { height: 60px; } and change the pixel amount to whatever you want it to be, 100px etc. Link to comment Share on other sites More sharing options...
exca Posted May 15, 2012 Share Posted May 15, 2012 hi ij ust serach and not find help there. i just need help. how to make image bigger on product_info.php . im use v2.2 rc2? i look at that file, no find anything, and when i change small setting on configure/image just affected for index page. i need bigger image for product info. thanks Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 15, 2012 Share Posted May 15, 2012 I may have altered something in my store, but in my admin area - configuration - images, I have a setting for display image width and height. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2012 Share Posted May 24, 2012 Hi Guys, Have an interesting problem with Background-image: I have inserted this code into stylesheet.css body { background-color:#cccccc; background-image:www.oziwf.com('whitesatin.gif'); color: #000000; margin: 0px; font-size: 11px; font-family: Arial, Lucida Grande, Lucida Sans, Verdana, sans-serif; } This is the code I was using as my template from my CSS lessons body { background-image:url('img_tree.png'); } It changes the background colour but doesn't display the image I have put the file whitesatin.gif into the root directory to test this out. I do believe that GIF JPG & Png files are acceptable for this task. Alas it doesn't work and I have swapped and changed almost everything but I can't get it right. Thanks in Advance Regards Bruce Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2012 Share Posted May 24, 2012 @@thaiexportco The proper code would be like this: background-image: url("images/whitesatin.gif"); Chris ps. The above assumes you have uploaded the background image to the /images/ directory on your server. Link to comment Share on other sites More sharing options...
u2slice Posted May 28, 2012 Share Posted May 28, 2012 Pls i need help on this error...i am a bit of a fresher. Warning: mail() has been disabled for security reasons in /home/kbelloan/public_html/os/includes/classes/email.php on line 522 Warning: Cannot modify header information - headers already sent by (output started at /home/kbelloan/public_html/os/includes/classes/email.php:522) in /home/kbelloan/public_html/os/includes/functions/general.php on line 45 the above errors can't let a user succesfully register on my site. Hoping to hear from somebody ASAP Link to comment Share on other sites More sharing options...
Chrison Posted May 29, 2012 Share Posted May 29, 2012 I've read through most of this thread, and have found solutions to most of my issues in getting my store going. Just wanted to say a huge THANKS! to everyone for such great tips and advice! That's the beauty of open source... lots of good knowledge out there! Regards, Chris Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2012 Share Posted June 2, 2012 @@thaiexportco The proper code would be like this: background-image: url("images/whitesatin.gif"); Chris ps. The above assumes you have uploaded the background image to the /images/ directory on your server. Thanks Chris, Problem solved. I also have a problem with putting rounded corners on the breadcrumb. Any suggestions would be appreciated Shops are looking good now take a look I have 2 going. http://www.oziwf.com & http://www.thailandexportco.com Regards Bruce Link to comment Share on other sites More sharing options...
tnsporting90 Posted June 3, 2012 Share Posted June 3, 2012 Hi, I am newbie in this forum. I am here to learning and sharing some knowledge. I hope i will do best to make this forum very popular.. Thanks. Link to comment Share on other sites More sharing options...
Guest Posted June 11, 2012 Share Posted June 11, 2012 Hi Don't know if this is the right place to ask, but my hosting company decided to upgrade to PhP 5.4.3 since then we could log on to the website but whenever you try to click on anything in the site, you get a "Server 500" error. I had the guys from the host have a look to see what's going on and all they could give me is the following. " ] PHP Fatal error: require(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/share/pear') in /var/www/vhosts/t/p/10313708_m5435720/includes/application_top.php on line 279 The piece of code its moaning about is this in application_top.php require(DIR_WS_LANGUAGES . $language . '.php'); The error says "Failed opening required 'includes/languages/.php There's no such file. [root@@www /var/www/vhosts/t/p/10313708_m5435720/includes/languages]# ls -la total 20 drwxr-xr-x 3 www nogroup 512 Jun 7 16:38 . drwxr-xr-x 8 www nogroup 512 Jun 7 16:38 .. drwxr-xr-x 4 www nogroup 1536 Jun 7 16:38 english -rw-r--r-- 1 www nogroup 12734 Jun 7 16:38 english.php Will any one be able to help with this? Thanks Link to comment Share on other sites More sharing options...
DesignAlot Posted June 15, 2012 Share Posted June 15, 2012 I am have t-shirts in the store, but when I make the attributes for Size small, large, etc. and visit the site as a shopper, the order of sizes is all screwed up. I want small first, then medium, then large, etc. How do I control the order and the first item in the drop down box shown. There is no price difference right now... HELP! Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 15, 2012 Share Posted June 15, 2012 Search the add ons area for attributes sort order. That is always the best place to look. If you cant find anything, try using google to find what you want. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
DesignAlot Posted June 20, 2012 Share Posted June 20, 2012 I used to be able to change the border colors of all the info boxes and product listing boxes with the css file. But it seems that there must be a different way to do that now as I cannot find any "border color" text that affects the actual borders. I do not want the default blue, so any help on where I go or the coding to look for to change that? I am using version 2.3.1. Link to comment Share on other sites More sharing options...
multimixer Posted June 20, 2012 Share Posted June 20, 2012 I used to be able to change the border colors of all the info boxes and product listing boxes with the css file. But it seems that there must be a different way to do that now as I cannot find any "border color" text that affects the actual borders. I do not want the default blue, so any help on where I go or the coding to look for to change that? I am using version 2.3.1. Best would be to create a new theme using themeroller and add it then to your store My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
DesignAlot Posted June 20, 2012 Share Posted June 20, 2012 That sounds great for future work! I like what I see. But is there still a simple place to change the border colors only, because I am then finished. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.