Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit css / styling? #34

Open
laura-amalie-graphics opened this issue Mar 23, 2023 · 4 comments
Open

How to edit css / styling? #34

laura-amalie-graphics opened this issue Mar 23, 2023 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@laura-amalie-graphics
Copy link

Hi there,
I am a ux designer dabbling into frontend development for fun. A step on the way is a Gatsby portfolio.
However, I cannot for the life of me figure out where I can edit colors, fonts, etc.? I tried adding the globalStyles but I could not get it to work....

Can anyone/you help?

@konstantinmuenster
Copy link
Owner

Hey @laura-amalie-graphics !

Have you tried this?

@konstantinmuenster konstantinmuenster self-assigned this Mar 23, 2023
@konstantinmuenster konstantinmuenster added the question Further information is requested label Mar 23, 2023
@laura-amalie-graphics
Copy link
Author

laura-amalie-graphics commented Mar 23, 2023

Yes I have - but I cannot get it to work. Do I need to import it somewhere? I tried adding the file you linked to, but whenever I tried changing fx the background color, nothing happened.

(also thank you for quick reply, I appreciate it!)

@konstantinmuenster
Copy link
Owner

No problem! You can try to delete the following steps:

  1. delete your node_modules directory
  2. run gatsby clean
  3. install the dependencies again npm install
  4. try if your theme.css file gets picked up now in development mode

Hopefully that does the trick 🤞

@VirtualVasquez
Copy link

No problem! You can try to delete the following steps:

  1. delete your node_modules directory
  2. run gatsby clean
  3. install the dependencies again npm install
  4. try if your theme.css file gets picked up now in development mode

Hopefully that does the trick 🤞

I ran into this issue, and these steps fixed for me, although I had to run npm install first before running gatsby clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants