Change bg News image
This commit is contained in:
parent
319eb42017
commit
375038a790
|
@ -71,7 +71,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>
|
||||
|
|
|
@ -237,7 +237,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<% news.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -229,7 +229,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -242,7 +242,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -237,7 +237,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
|
@ -237,7 +237,7 @@
|
|||
<% contents.forEach(function (content) { %>
|
||||
<div 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>
|
||||
|
|
Loading…
Reference in New Issue