broadstreetbully Posted March 10, 2010 Share Posted March 10, 2010 my image still will not display on my site, all i get is a plain white BG and my text has changed to Times New Roman?? any suggetsions, this is the code i have BODY { background-image : url('/www/images/metal013.gif); background-repeat : no-repeat; background-position : 50% 50%; background-attachment : fixed; color : #000000; margin : 0; } in the line under BODY you have the single quote right after the first parenthesis but you forgot to close it with a single quote before the last parenthisis...like ('code goes here') but in yours you have ('code goes here) with no second/closing single parenthisis. maybe that's why..... Link to comment Share on other sites More sharing options...
spooks Posted March 10, 2010 Share Posted March 10, 2010 Why are you posting a reply to a 4 year old query?? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted March 12, 2010 Share Posted March 12, 2010 In the CSS file for the site under body, add the lines similar to below, obviously changing the relevant code Thanks. Link to comment Share on other sites More sharing options...
zegar911 Posted July 9, 2010 Share Posted July 9, 2010 worked perfect,,, thanks Link to comment Share on other sites More sharing options...
zegar911 Posted July 9, 2010 Share Posted July 9, 2010 I also add width 100% so no matter what size of image its always fits, please let me know if it may cause any problem some where, as I am new and just trying to learn something, BODY { background-image: url('images/g_bg.gif'); width: 100%; margin: auto; background-repeat: repeat; background-position: center; } thanks in advance for your comments Link to comment Share on other sites More sharing options...
maria536 Posted September 23, 2010 Share Posted September 23, 2010 OMG, I feel really, really dumb, because I don't even know how to get to the body, or anything else for that matter to edit oscommerce. Any help would be appreciated. I am not sure If I have to edit this on my server, using the files that I uploaded or through the admin section of the oscommerce, PLEASE, HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
pantufas_online Posted December 25, 2011 Share Posted December 25, 2011 hi, after i had the image background, how can i make it clickable, to open another page... thanks :) Link to comment Share on other sites More sharing options...
germ Posted December 26, 2011 Share Posted December 26, 2011 Background images aren't normally "clickable". I'd have to see the site to see exactly what you're wanting to make "clickable". 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...
brimasta Posted January 4, 2012 Share Posted January 4, 2012 This may well make me sound thick, but how do I upload an image to the web server? I have put the image into the images file using ftp. is that not the same thing? this is the code I have entered...... background-image : url('catalog/images/shop background.jpg'); background-repeat : no-repeat; background-position : 50% 50%; background-attachment : fixed; color : #000000; margin : 0; Link to comment Share on other sites More sharing options...
germ Posted January 4, 2012 Share Posted January 4, 2012 Try replacing this line: background-image : url('catalog/images/shop background.jpg'); With this: background-image : url('images/shop background.jpg'); 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...
brimasta Posted January 4, 2012 Share Posted January 4, 2012 thanks jim, I have tried that too... Link to comment Share on other sites More sharing options...
germ Posted January 5, 2012 Share Posted January 5, 2012 Unless you want to give a URL (by post or PM) stick a fork in me 'cuz I'm done. I can't help fix what I can't see... 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...
Douglas-John Ramm Posted January 18, 2012 Share Posted January 18, 2012 I have tried adding a back groud image to my site and used the following code. body { background-image : url('https://www.mystore.net.au/shop/images/skywithclouds.jpg'); background-repeat : no-repeat; background-position : 50% 50%; background-attachment : fixed; color : #000000; margin : 0; font-size: 11px; font-family: Lucida Grande, Lucida Sans, Verdana, Arial, sans-serif; } but it dosent work. any ideas Doug Link to comment Share on other sites More sharing options...
npn2531 Posted January 18, 2012 Share Posted January 18, 2012 You should be able to add it with this: body {background: url(images/skywithclouds.jpg) no-repeat 50% 50%;} No quotes are needed. Note however that unless the closing body tag is 'cleared' like so: <div class="clear"></div> </body> The image will not display. Oscommerce site: OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120 Link to comment Share on other sites More sharing options...
Douglas-John Ramm Posted January 19, 2012 Share Posted January 19, 2012 There is no <div class="clear"></div> </body> In the css file should there be i'm running 2.3.1 Doug Link to comment Share on other sites More sharing options...
Pixietol Posted January 20, 2012 Share Posted January 20, 2012 Hello everyone,is this thread still on?I want to ask some few questions in changing the background. -All is well- Link to comment Share on other sites More sharing options...
apolyshow Posted February 2, 2012 Share Posted February 2, 2012 Is this still on? One amateur made the Arc, 5.000 pro made the Titanic... Link to comment Share on other sites More sharing options...
germ Posted February 2, 2012 Share Posted February 2, 2012 Anyone really wanting help on this should give their URL. It's almost impossible to help with this without a URL. 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...
♥14steve14 Posted February 10, 2012 Share Posted February 10, 2012 There is no <div class="clear"></div> </body> In the css file should there be i'm running 2.3.1 Doug Add .clear { clear: both; } to your stylesheet. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.