Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

colour on the corners


Guest

Recommended Posts

Posted

Hi

 

I have changed the colour of the headings on the boxes, (via stylesheet) yet i am still left with a little corner of grey/blue.

 

can anyone help me? please

 

the site is www.viva-la-bmx.com/catalogue

 

many thanks

Posted

You have to change the images at images/corner_left.gif, images/corner_right.gif, and images/corner_left_right.gif

 

One possibility is to replace them with images/pixel_trans.gif, which will give you square corners of the same color as your heading.

Always back up before making changes.

Posted

If you had bothered to do a search of this forum you would have found the answer. Also if you had read the stickies at the top of the page you would have found it. Look Here, and read the post it will tell you. Just so you know in future, at the top of the page to the right, there is a search button. Its there for a reason.

REMEMBER BACKUP, BACKUP AND BACKUP

Posted
If you had bothered to do a search of this forum you would have found the answer. Also if you had read the stickies at the top of the page you would have found it. Look Here, and read the post it will tell you. Just so you know in future, at the top of the page to the right, there is a search button. Its there for a reason.

 

Little harsh IMO, and i had the same question and couldnt find it on the thread you listed, but as from what i can find you cant search a thread, going threw 23 pages of responses is difficult. Were as i found this thread + answer in less then a min

 

Thanks for the assistance ecartz.

Posted
but as from what i can find you cant search a thread

Look in the bottom left corner of every topic.

"Enter keywords" Then click Search Topic.

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 >

Posted
Look in the bottom left corner of every topic.

"Enter keywords" Then click Search Topic.

 

Hmm, how did i miss that, guess i couldnt see if for looking

 

Thanks for pointing it out

Posted

Its in the very first post. All you have to do is read the post.

 

8. … Remove / Add the rounded corners to the info boxes on the left or right columns?

9. … Remove / Add the rounded corners to the info boxes in the middle part of the page? (eg: New Products for MONTH)

REMEMBER BACKUP, BACKUP AND BACKUP

Posted
Its in the very first post. All you have to do is read the post.

 

8. … Remove / Add the rounded corners to the info boxes on the left or right columns?

9. … Remove / Add the rounded corners to the info boxes in the middle part of the page? (eg: New Products for MONTH)

 

unfortunately, you obviously had not understood what i said 14steve14.

Firstly I know how to remove the corners (rounded or otherwise). I found that thread first off.

 

I wanted to know why, once i had changed the colour in stylesheet, was i still getting the old grey colour in the corners.

I have since sorted this myself, apparently it has to do with a jpeg image (transparent).

 

And yes I did look everywhere on the search, and no it would not bring anything up.

Please don't insult mine and a lot of other peoples intelligence by assuming we don't know how to use a search button.

We are asking for friendly advice, we are new to this, although not that new.

I thought I would be asking friendly people that would be willing to help as they too had probably been in the same situation once.

Sorry if I offended you by asking, but if that is the case, just DONT answer, if you don't have anything good to say then don't say anything at all.

Posted
And yes I did look everywhere on the search, and no it would not bring anything up.

 

 

You couldnt have looked properly then

REMEMBER BACKUP, BACKUP AND BACKUP

Posted

9. … Remove / Add the rounded corners to the info boxes in the middle part of the page? (eg: New Products for MONTH)

 

hi i am have troble finding the file for the above info box it does not seam to be in the box file with all the others some please point me in the right direction

many thanks

phil

Posted

the file you need is catalog / includes / modules / new_products.php

Nic

hi

found the file but after looking though there are no tru/false words i the file any futher info would be help full

phil

Posted

yes it does, you just need to look harder than the other files!

Nic

hi i cut and pasted the text from the file i must be going blind as i can not see it i even used the find fuction in the menu for the letter f and no false in there ( one side allready squared off) i have even looked in other files as were it should be and tryed to input my self agian with no luck

<?php

/*

$Id: new_products.php 1806 2008-01-11 22:48:15Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2008 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- new_products //-->

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')));

 

new contentBoxHeading($info_box_contents);

 

if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) {

$new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS);

} else {

$new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS);

}

 

$row = 0;

$col = 0;

$info_box_contents = array();

while ($new_products = tep_db_fetch_array($new_products_query)) {

$info_box_contents[$row][$col] = array('align' => 'center',

'params' => 'class="smallText" width="33%" valign="top"',

'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])));

 

$col ++;

if ($col > 2) {

$col = 0;

$row ++;

}

}

 

new contentBox($info_box_contents);

?>

<!-- new_products_eof //-->

 

many tahsk phil

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...