Jump to content



Latest News: (loading..)

- - - - -

bad code or stupid human ?


This topic has been archived. This means that you cannot reply to this topic.
34 replies to this topic

#1   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 08:38 PM

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 ?

#2   J_Fyrebird

J_Fyrebird
  • Members
  • 10 posts

Posted 16 May 2012 - 09:01 PM

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.

#3   bruyndoncx

bruyndoncx

    Problem Thinker

  • Members
  • 2,658 posts

Posted 16 May 2012 - 09:04 PM

perhaps it needs background-color as tag ?
Hava a nice day !
Carine Bruyndoncx


PS frustraded by the lack of feedback
<!--
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
post your findings in my responsive liive shop review thread ?
-->

#4   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 10:05 PM

View Postbruyndoncx, on 16 May 2012 - 09:04 PM, said:

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 .

#5   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 10:13 PM

and if may ask for background images will be something like :

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

}

?

#6   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 10:29 PM

and

#bodyWrapper { background:#FF0000;
}

doesn't give red if gives me payne , max(ium) payne

#7   al3ks

al3ks
  • Members
  • 288 posts

Posted 16 May 2012 - 11:09 PM

@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. :)

#8   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 11:30 PM

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 :(

#9   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 16 May 2012 - 11:34 PM

View Postmariusmoisa, on 16 May 2012 - 11:30 PM, said:

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

#10   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 16 May 2012 - 11:41 PM

View Postjoli1811, on 16 May 2012 - 11:34 PM, said:

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

#11   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 11:48 PM

@joli1811 thank you.

from one reason or multiple reasons the
#bodyWrapper { background-color: anything ; }
doesn't work :blink:

Edited by mariusmoisa, 16 May 2012 - 11:49 PM.


#12   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 16 May 2012 - 11:54 PM

Ctrl+shift+Delete

#13   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 16 May 2012 - 11:57 PM

(w00t)

#14   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 17 May 2012 - 12:00 AM

View Postmariusmoisa, on 16 May 2012 - 11:57 PM, said:

(w00t)
does that mean :D

#15   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:03 AM

no it just means i am going nuts and in my time table is 3 o'clock  in the morning :ph34r:

#16   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 17 May 2012 - 12:08 AM

send a link to your website

#17   kymation

kymation

    Believers

  • Community Sponsor
  • 6,697 posts

Posted 17 May 2012 - 12:14 AM

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
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#18   mariusmoisa

mariusmoisa
  • Members
  • 84 posts

Posted 17 May 2012 - 12:16 AM

/*
  $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

Attached Files


Edited by mariusmoisa, 17 May 2012 - 12:22 AM.


#19   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 17 May 2012 - 12:22 AM

View Postmariusmoisa, on 17 May 2012 - 12:16 AM, said:

/*
  $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:

#20   joli1811

joli1811
  • Community Sponsor
  • 777 posts

Posted 17 May 2012 - 12:24 AM

changing ok on this end