79806343

Date: 2025-11-01 05:33:58
Score: 1
Natty:
Report link

HTML (for page the needs image)
<body class="with-bg">

HTML(pages that dont need image)
<body class="no-bg">

CSS


body.with-bg {
  background-image: url("bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}


body.no-bg {
  background-image: none !important;
}

!important this might ensure that background is completely removed if any another rule was stronger

Or you may also use inline css

<body style="background-image:none;">

Please upvote if it works !

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prasad Yewale