asked 8 years ago

How can I add an image like dw page modern homepage background into dw page?

1 Answers
answered 8 years ago

To add a background image to homepage, you can add the following code to the style.css file:

body {
  background: url(img/header-bg.jpg) fixed no-repeat top center;
  background-size: 100% auto; 
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #333;
  font-weight: lighter;

.header {
  background: none !important;
#main {
  background: transparent;
.section {
  background: #fff;

Then rename your background image to what you want. Copy/paste your image into the wp-content -> themes -> dw-page -> img folder.

After finishing, you can replace your image title here: background: url(img/header-bg.jpg).

Hope this helps !

replied 8 years ago

Thanks 🙂

Powered by DW Question & Answer Pro