Replies: 1 comment
-
I found this tutorial on how to structure custom .CSS to style Vite Press projects, this looks to solve my question. 🙌🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Using the default install of Vitepress, I'm needing minor changes made to the colours of various text.
I've had success by adding the following to my /.vitepress/theme/style/customTheme.css file and tying it together into my config.mjs;
This successfully set the mouse-over colour to red (for testing, not for looks 😋) of the top Navbar.
But I'm not having the same luck isolating and changing the text of the Sidebar. I've tried .VPSidebar and .VPSidebarItem, but the colour won't budge. As a side note, I'm also lead to believe that the use of !important isn't a wise long term strategy, so will need to address this later.
If anyone can help with addressing this I'd be most grateful - but just as importantly, I have some spare time coming up and would be keen to up-skill in this area, so a link or two to any supporting articles would be welcome.
Beta Was this translation helpful? Give feedback.
All reactions