Custom CSS width #2
-
|
Hello! Been poking around this project a bit and I'm trying to widen the page, using the cozy terminal theme. I've put this in custom CSS, but no matter what I do, inspecting the body elements will still show max-width at the default of 700px What am I missing? 😞 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
|
Hey! Thanks for using publite! Changing the body width using your CSS there seems to be working for me. Can you send your full custom CSS? And can you also check you're using the latest docker release? |
Beta Was this translation helpful? Give feedback.
-
|
Your rule might be getting overridden by another CSS rule with higher specificity. Try this: css 2️⃣ Check Parent Containers You can inspect elements in DevTools (F12) and check which container is limiting width. 3️⃣ Override CSS Variables (If Used) css You can override it like: css 4️⃣ Remove Conflicting Styles css Find the body element and check which styles apply If your CSS isn’t there, it may not be loading properly |
Beta Was this translation helpful? Give feedback.
-
|
Its ok
didnt have the time to really read everything so just had to make do
Forgive me
…On Wed, Mar 26, 2025 at 4:55 PM Mike Mather ***@***.***> wrote:
Appreciate the comment but this is clearly AI generated, doesn't
understand what this application is or how it works, and is not relevant at
all to what the OP has asked. Please don't comment unless you are familiar
with the code and have clearly acknowledged what the OP asked.
—
Reply to this email directly, view it on GitHub
<#2 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNG5LXX46MCKNPPAITM2JJT2WLEYJAVCNFSM6AAAAABZTZPQAGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRTGA2TQOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.



Yep thats it! The issue happens because the code formatter we're using tries to treat the Jinja template tags inside the style tags as CSS which breaks the jinja templating. But this doesn't seem to be the case for me using the latest image. I will try a fresh install to verify.
What image are you on now? Should be
mikemather/publite:latestwhich seems to be okay for me.Either way, I'll look into the formatter to see if I can find a better way to avoid that. Thanks for letting me know!