Change bg News image
This commit is contained in:
parent
13b32f0434
commit
22907a4dd6
|
@ -142,7 +142,7 @@
|
|||
<% categories.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>
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 33.33%;">
|
||||
<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>
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 33.33%;">
|
||||
<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>
|
||||
|
|
|
@ -239,7 +239,7 @@
|
|||
<% news.forEach(function (content) { %>
|
||||
<div style="float: left; width: 100%;">
|
||||
<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>
|
||||
|
|
|
@ -294,7 +294,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>
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 33.33%;">
|
||||
<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>
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 33.33%;">
|
||||
<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>
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div style="float: left; width: 33.33%;">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue