Change bg News image

This commit is contained in:
Surinam 2017-11-23 23:11:48 +02:00
parent 8800e0dbb2
commit 7f10ecf960
8 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@
<% categories.forEach(function (content) { %>
<div style="float: left; width: 25%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -214,7 +214,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -232,7 +232,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -3,7 +3,7 @@
<% news.forEach(function (content) { %>
<div style="background: #151516" class="cinemapress-news-block">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -241,7 +241,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -229,7 +229,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -201,7 +201,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -225,7 +225,7 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>