TOPIC: Change Module background

Change Module background 9 years 2 months ago #6928

  • obyfield
  • obyfield's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 31
  • Karma: 0
How to add a background image right across the block which contains module position (bottom2-1 to bottom2-6)?
The administrator has disabled public write access.

Re: Change Module background 9 years 1 month ago #6930

  • crystal_moon
  • crystal_moon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Thank you received: 10
  • Karma: 2
You can add new image to '/templates/ot_rendcore/images' folder.
And then edit file '/templates/ot_rendcore/css/preset-style-1.css', '/templates/ot_rendcore/css/preset-style-2.css' and '/templates/ot_rendcore/css/preset-style-3.css'
Line 413
.oBottomBlock2{
	background-color: #FFFFFF;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
change to
.oBottomBlock2{
	background-attachment: scroll;
	background-image: url("../images/{image}");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: #FFFFFF;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

background-repeat: no-repeat / repeat
The administrator has disabled public write access.
The following user(s) said Thank You: obyfield
Time to create page: 0.094 seconds