Change bg News image
This commit is contained in:
parent
99bb47e9b0
commit
da461e7004
|
@ -134,7 +134,7 @@
|
|||
<% categories.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>
|
||||
|
|
|
@ -204,7 +204,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>
|
||||
|
|
|
@ -199,7 +199,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>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<% news.forEach(function (content) { %>
|
||||
<div>
|
||||
<div style="margin: 0; padding: 10px 0">
|
||||
<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>
|
||||
|
|
|
@ -212,7 +212,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>
|
||||
|
|
|
@ -209,7 +209,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>
|
||||
|
|
|
@ -204,7 +204,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>
|
||||
|
|
|
@ -204,7 +204,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>
|
||||
|
|
Loading…
Reference in New Issue