caris-events / tunalog

🐟 Tunalog is a no-installation, easy-to-use blogging system written in Go.
https://tunalog.org
MIT License
373 stars 20 forks source link

How can I adjust blog width #33

Closed jftuga closed 2 months ago

jftuga commented 2 months ago

I want to make my blog wider.

I tried editing the global Content Width to wide and then edited ./system/themes/default/assets/style.css:

html.container-large .ts-container {
    --width: 980px;
}

I recompiled and reran the binary, but the width still seems to be the same. IIRC, the original width was 810px. What else do I need to change?

Thanks.

YamiOdymel commented 2 months ago

You don't need to recompile.

Tunalog generates data/themes/default during setup for direct editing.

After making changes, clear your browser cache to see them, or restart Tunalog if changes don't take effect.


This may no longer be relevant, but:

If you changed the default theme and recompiled, you must manually remove /data/themes/default.

Tunalog doesn’t override existing themes by default to protect user-edited themes.

YamiOdymel commented 2 months ago

If you prefer not to edit the theme files, you can add <style> tags in Appearance > Injected Code.

jftuga commented 2 months ago

This fixed my issue. Thank you.