Hello! Im working in an Astro project with Tailwind, but im having some issues:
i have a Layout that wraps the navbar and fotter with the <slot/> between, the navigation contains the theme toggle functionality wich is currently working as expected in the home page, this home pages renders every single style properly, meaning fonts, font-size, colors etc.. But when i create the new route called Blog im using the same Layout and is not render properly the styles, also navbar looks pretty different regards font-size and colors, and the theme toggle is working properly when i switch themes the page background does not change.
if someone can help me will be really apreciated.
#Styles are not rendering properly.
11 messages · Page 1 of 1 (latest)
Still waiting for an answer?
It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.
Could you share your Layout.astro?
thanks @solemn latch
here's my Layout
You could look at https://github.com/onwidget/astrowind for reference
here some other snapshots in case that can be useful, also i noticed that when im clicking the blog section the body doesnt load any of the styles that are in my global.css
how do you load your global.css?
sorry about that, I'm new here, didn't know that it will message 😄