Jump to content

[Solved] How To Add A Background Image Ps 1.5.3.1


CameraTek

Recommended Posts

you must edit global css file and add url param to background css tag below:

 

body {
font: normal 11px/14px Arial, Verdana, sans-serif;
color: #222;
background: #fff url('YOUR BACKGROUND URL');
}

 

you can find it in global.css line 53

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

This is a really good module...

 

The only problem is that it interferes with my home page image "slider" and prevents it from working in any browser (once the user has accepted cookies). It also displays a javascript error (probably for the same reason) in firefox. I'm using the latest version of this module with PS1.5.3 I was hoping to contact the author as I really like this module but can't figure out who actually wrote it or if Art Acherman is one of the people commenting on this page

Link to comment
Share on other sites

  • 5 months later...

Hello,

 

I tried to change global.css and it complains about media.php or sth. My presta is 1.5.4.1 

Is there any difference between 1.4 and 1.5 on background image problem?

 

BTW, @cameratek, your sites are offline for maintenance. I am very curious about your background, i also want to see that :)

 

Opti

Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...

I am getting 404 error message in console. It is something to do with htaccess ?

 

I did this:

"background:#fff url('../img/sales.jpg');

and uploaded the background image to  themes\default\img\ folder"

 

the .htaccess in themes folder contain :

 

<FilesMatch "\.tpl$">

 
Deny from all
 
</FilesMatch>
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

Hello, I can manage to add a background image to a ps 1.6.01 by pasting this code: background: #FFF url('../themes/default-bootstrap/img/cloud3long.png')!important;

} to the global.css file in the css folder of my theme and after ofcourse uploading the image to the image folder of the theme.
If I would want to have this background image only working in the home page, how should I modify the code that I have shown above?
Thanks.
  • Like 1
Link to comment
Share on other sites

  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...