kelebek6363 Posted May 15, 2010 Share Posted May 15, 2010 I want to ad background image.how can ı do.itis my css.but images divide parts.*/•{ padding:0; margin:0;}body {background: #ffffff url(’../img/bg.jpg’) repeat-x; font-size: 11px; font-family: Verdana, Arial, Helvetica, Sans-Serif; color: #5d717e; text-align:center; } Link to comment Share on other sites More sharing options...
bigstef Posted May 15, 2010 Share Posted May 15, 2010 Why not try and change the repeat-x to no-repeat and see what difference it makes. Link to comment Share on other sites More sharing options...
kelebek6363 Posted May 15, 2010 Author Share Posted May 15, 2010 there wasnt any change.pls help me Link to comment Share on other sites More sharing options...
hamonofis Posted May 21, 2010 Share Posted May 21, 2010 HI I 've got the same problem.I' ll be interested by an answer.thanks Link to comment Share on other sites More sharing options...
Burhan BVK Posted May 21, 2010 Share Posted May 21, 2010 The url of the image should be relative to the location of your css.If your css is in:themes/yourtheme/css/global.cssAnd your bg image in:img/bg.gifThen the url shoul be:url('../../../img/bg.gif'); Link to comment Share on other sites More sharing options...
Kiru4a Posted June 14, 2010 Share Posted June 14, 2010 It's work:body { background: #f5f5f5 url('../img/bg.jpg') no-repeat top center ;Reload bg.jpg in /img/ folder in theme which you use Link to comment Share on other sites More sharing options...
Recommended Posts