Ir al contenido
Menú
Se marcó esta pregunta
4 Respuestas
7101 Vistas

Sometimes I want to use an image that is not suitable for full-height scaling. How can I resize the area for the cover image (parent block ?) so the Title, Subtitle, Author, ... still centers on top of the image but doesn't need to be full page height ? 

TIA & BR,
Johan

Avatar
Descartar
Autor

After 20 views and no reply I guess the short answer is NO ? Anyone care to offer a hack or workaround ? HTML editor ? I am on SaaS so limited in what I can touch ... No one else having this desire ? Sometimes a blog post is just one paragraph, then having a full cover page (image) is overkill. Please community...

You can develop a custom module for blog posts according to your preferences. But to my belief it should be generally an option of the web themes to have another blog layout at all. For me a full page blog title is a massive overload.

Autor

Anyone from Odoo SA that wants to comment if this is in the plan / road map ?

Mejor respuesta

What i did:

  1. Search for "<div class="cover..." inside the HTML Editor (line 5)

  2. remove fullscreen-js from the class attribute(or supersize or something simular... i cant remember)

  3. add inside the same line "min-height:400px;" within the styles attribute.

Done

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
1971
1
feb 24
1456
0
nov 23
1567
1
jul 21
1826
1
may 20
3381