Jump to content
  • 0

Changing Background Color To An Image


Nick_L

Question

Hi,

 

I know it's possible to change background color to a image. I tried to edit styles.css. ( app/view/client/bootstrap/css/styles.css ). I guess, background color is on the top and I have tried to enter background-image: url(../images/background.png) !important;

 

 

However, it didn't work.  Any ideas ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

in wich area you want to edit it ?

use my plugin "css js toolbox" to add your custom css, that way you are safe in case of upgrade to next version .

 

Tried you plugin it worked but not actually worked :P 

 

I'm trying to add this code 

 

body {
    background-image: url("https://xxxx.com/bgblue.png");
}
 
But background becomes blue only not the wallpaper i'm trying to set.
 
HELP ! :)
Link to comment
Share on other sites

  • 0

Since you noticed the background has changed, the image is being loaded, but may not be displayed in the correct location. You may need to set its position as well. For a better overwrite, try setting the background property rather than background-image.

 

I just tried to make it lower resoulution and .jpg, so it worked. Thank you all for the suggestions.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...