Skip to content

Commit bb6f845

Browse files
authored
fix text and overlay
1 parent bf7bac3 commit bb6f845

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

home/templates/segments/segment.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ <h2 class="head-title">{{segment.value.name}}</h2>
9898
{% endif %}
9999
{% if segment.value.position == "full" %}
100100
{% image segment.value.image fill-1920x1080-c10 format-webp preserve-svg as tmp_logo_segment %}
101-
<section id="{{block.slug}}" style="background: {{block.background_section}}; color: {{block.color_text_section}}">
101+
<section id="{{block.slug}}" style="color: {{block.color_text_section}}">
102102
<div class="hero-area-section hero-area-bg" style='background: url("{{ tmp_logo_segment.url }}") no-repeat; background-size: cover;
103103
background-position-y: top;
104-
background-position-x: center;'>
104+
background-position-x: center; color: {{block.color_text_section}}'>
105105
<div class="overlay-static"></div>
106106
<div class="container">
107107
<div class="row justify-content-center">
108108
<div class="col-lg-9 col-sm-12">
109109
<div class="contents text-center">
110110

111-
<h2 class="head-title">{{segment.value.name}}</h2>
111+
<h2 class="head-title" style="color: {{block.color_text_section}}">{{segment.value.name}}</h2>
112112
<p class="banner-desc"><div {% if segment.value.list_style %}class="show-list-style"{% endif %}>{{segment.value.description|richtext}}</div></p>
113113
<br>
114114
<div class="about-content text-justify">

website/static/2023/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2398,7 +2398,7 @@ footer {
23982398
height: 100%;
23992399
top: 0px;
24002400
left: 0px;
2401-
background: rgba(0, 0, 0, 0.7);
2401+
background: rgba(0, 0, 0, 0.6);
24022402
}
24032403

24042404
.hero-area .contents {

0 commit comments

Comments
 (0)