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 — Using image with no repetition

If you do not want an image to be repeated, just put the value no-repeat after the background-repeat property and separate them with a colon.

To avoid repetition of the image, you will need to insert the following lines:

body {
background-color: white;
background-image: url('../img/mylargeimage.jpg)
background-repeat: no-repeat; font-size: 11px;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
color: #5d717e;
text-align:center
}

Normally, this applies for larger background images.

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