O'Reilly logo

PrestaShop 1.3 ThemingBeginner’s Guide by Hayati Hashim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — Basic CSS editing for modifying background images

We chose one image to show how CSS can be edited to modify the background images.

Now that you have created a background with your image editor or chosen from one of the resources, you can carry on with the following steps:

  1. Upload the image you had chosen to the img folder of your new PrestaShop theme directory. The following is the image we will use for this exercise, and it is referred to as "myimage.jpg":
    Time for action — Basic CSS editing for modifying background images
  2. Go to your global.css file. Find the element you want to add the image to. In this case, the body element:
    body { background-color: white; font-size: 11px; font-family: Verdana, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required