fix styles for dcl cms plugin

This commit is contained in:
Arvind Tiwari 2018-02-24 20:22:27 +05:30
parent 2b3e834d21
commit 18ef605e53
2 changed files with 12 additions and 10 deletions

View file

@ -29,6 +29,10 @@
background: rgba(90, 116, 175, 0.85);
}
.dcl-cms_page-header .container {
position: relative;
}
#dcl-cms_page-text {
background: #fff;
}
@ -44,4 +48,5 @@
line-height: 40px;
width: 100%;
}
} }
}

View file

@ -1,21 +1,18 @@
{% extends "datacenterlight/base.html" %}
{% load staticfiles cms_tags sekizai_tags %}
{% block css_extra %}
<link href="{% static 'datacenterlight/css/cms.css' %}" media="screen" rel="stylesheet" type="text/css"/>
{% endblock css_extra %}
{% block title %}
{% page_attribute page_title %}
{% endblock %}
{% block content %}
{% addtoblock "css" %}
<link href="{% static 'datacenterlight/css/cms.css' %}" media="screen" rel="stylesheet" type="text/css"/>
{% endaddtoblock %}
<div class="dcl-cms_page-full-width">
<div class="dcl-cms_page-header">
<div class="container">
<div class="single-heading">
<h2>{% page_attribute page_title %}</h2>
</div>
</div>
<div class="dcl-cms_page-header">
<div class="container">
<h1>{% page_attribute page_title %}</h1>
</div>
</div>