STYLE titles & img

This commit is contained in:
2025-10-24 09:24:25 +00:00
parent f44c07c93c
commit b574e6853f
2 changed files with 21 additions and 30 deletions

View File

@ -3,9 +3,7 @@
{% block content %}
<h1 class="my-5 position-relative fs-3 fw-bold sp-module-title">{{ post.title }}</h1>
{# <section class="grid servicios servicios-publicos {{ post.post_name }}"> #}
<section class="section-servicios">
{% if subpaginas_servicios |length > 0 %}
{% for noticias in subpaginas_servicios %}
@ -15,16 +13,13 @@
<div class="card my-3 position-relative posts-noticias">
<div class="row g-0">
<div class="col-md-4">
{# <a href="{{ noticias.link }}" title="{{ noticias.title }}"></a> #}
<img src="{{ imagen }}" alt="{{ alt }}"
class="rounded-start object-fit-cover w-100 img-noticias"
class="rounded-start img-noticias"
/>
</div>
<div class="col-md-8">
<div class="card-body" style="padding-bottom: 60px;">
{# <a href="{{ noticias.link }}" title="{{ noticias.title }}" class="text-decoration-none card-title"></a> #}
<h5 class="card-title-text">{{ noticias.title }}</h5>
<div class="card-body">
<h5 class="card-title-text fs-4 fw-bold border-dark border-bottom">{{ noticias.title }}</h5>
<p class="card-text"> {{noticias.content}}</p>
</div>
</div>