jali: (Default)
jali ([personal profile] jali) wrote in [community profile] style_system2025-04-14 11:49 am

Nested divs in a post header

How can I modify the HTML side of my layout to achieve this result? I am using Practicality as my base theme.

momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2025-04-15 11:57 pm (UTC)(link)

Rearranging divs requires making a new custom layer and redefining the Page::print_entry function which is not for the faint-of-heart. The S2 Cookbook on the wiki is probably the best reference for S2 stuff.

momijizukamori: Green icon with white text - 'I do believe in phosphorylation! I do!' with a string of DNA basepairs on the bottom (Default)

[personal profile] momijizukamori 2025-04-16 10:12 pm (UTC)(link)

In that case, good luck! If you have previous programming experience it's not quite as overwhelming, yeah. And it might help to look at one of the other layouts that redefines print_entry for references, like [Tectonic]( https://www.dreamwidth.org/customize/advanced/layersource?id=515930&fmt=html )