コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4 返信
7202 ビュー

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

アバター
破棄
著作者

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.

著作者

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

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 25
2227
1
2月 24
1585
0
11月 23
1677
1
7月 21
1992
1
5月 20
3516