Jump to content


alhumayd34

Member Since 03 Jan 2019
Offline Last Active Jan 03 2019 12:05 PM
-----

Posts I've Made

In Topic: Changing background in themes will not work

03 January 2019 - 12:06 PM

<body>

    <div class="bg"></div>

    <p class="py-5 text-center">This example creates a full page background image. Try to resize the browser window to see how it always will cover the full screen (when scrolled to top), and that it scales nicely on all screen sizes.</p>

</body>
body, html {
  height: 100%;
}
.bg {
  /* The image used */
  background-image: url("https://mdbootstrap.com/img/Photos/Horizontal/Nature/full page/img(20).jpg");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

use this a also face this issue in my press release writing website i dd code like this then my problem is solved


IPB Skin By Virteq