Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

bad code or stupid human ?


mariusmoisa

Recommended Posts

osc 2.3.1 fresh install and firefox with the line :

 

#bodyContent { background:#99FF33;

 

}

and no change on site :blink: ( and alt+F5 = the same nothing is changed )

 

anything bad in that line ?

Link to comment
Share on other sites

You may be dealing with a server-side cache. Clean out your own cache files (Tools -> Options -> Advanced tab -> Netork tab -> Clear Cache), if you don't see the change, you may have to wait 15 -45 minutes depending on how your host's server is configured for caching pages.

Link to comment
Share on other sites

perhaps it needs background-color as tag ?

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

perhaps it needs background-color as tag ?

 

thank you! well this forum is the best tutorial ( that bad line is from a osc book ) . thank you again.

 

@fyrebird : thank you but that wasn't the problem .

Link to comment
Share on other sites

@@mariusmoisa

 

Adding a background image would look something like this:

 

#bodyContent { background-image: url(/images/theimage.png); }

 

 

What do you mean by "payne"

 

try this:

 

#bodyWrapper { background-color: #FF0000; }

 

or

 

#bodyWrapper { background-color: red; }

Find this post helpful? Click the 'Like this' button. :)

Link to comment
Share on other sites

u may know max payne from the fall of max payne - the video game or the movie - and in my neighborhood it was a child that the every time he was hurt in the feelings he cried ooouuuhhh the pain .... the max pa[y]n[e] ... :)

 

 

and the lines didn't work :(

Link to comment
Share on other sites

u may know max payne from the fall of max payne - the video game or the movie - and in my neighborhood it was a child that the every time he was hurt in the feelings he cried ooouuuhhh the pain .... the max pa[y]n[e] ... :)

 

 

and the lines didn't work :(

 

Hi Max,

background-image: url('images/header_background.png');

 

notice no slash before images.

John

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Hi Max,

background-image: url('images/header_background.png');

 

notice no slash before images.

John

 

Hi again

#bodyContent { background:#99FF33;

 

}

 

that code is ok where are you uploading the stylesheet to :blink:

 

John

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

1. Does the bodyWrapper ID actually exist in your code? Yes, I know it's in the stock osC template_top.php, but did you remove it?

 

2. That ID is defined in the jQuery theme as well as in the stylesheet. Which one are you changing? The last one that's loaded wins.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

/*

$Id$

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2010 osCommerce

 

Released under the GNU General Public License

*/

 

.ui-widget {

font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;

font-size: 11px;

}

 

body {

background: #000000;

color: #000;

margin: 0px;

font-size: 11px;

font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;

}

 

#bodyWrapper { background:#8EE5EE; - this is my Nemesis

}

 

#bodyContent { background:#99FF33;

 

 

www.soundell.com and i want the site to look like the attached

Link to comment
Share on other sites

/*

$Id$

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2010 osCommerce

 

Released under the GNU General Public License

*/

 

.ui-widget {

font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;

font-size: 11px;

}

 

body {

background: #000000;

color: #000;

margin: 0px;

font-size: 11px;

font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif;

}

 

#bodyWrapper { background:#8EE5EE; - this is my Nemesis

}

 

#bodyContent { background:#99FF33;

 

 

www.soundell.com and i want the site to look like the attached

 

Hi,

I get redirect to www.soundell.com/Catalog and it is deffinatly looking pretty green in there :lol:

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

i am experimenting with colors an codes because i am newbee and u get redirected because i didn't find a solutions to maintain the catalog root and be able to go directly to index when i type www.soundell.com - it will send me ot index of /catalog page

Link to comment
Share on other sites

sorry changing ok here

 

Hi, well that is a different matter first your style sheets are changing so that problem is solved

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...