Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
7200 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
2222
1
thg 2 24
1584
0
thg 11 23
1676
1
thg 7 21
1992
1
thg 5 20
3514