-
Select Topic AreaQuestion BodyHi, I am a beginner trying to build a jekyll website and publish on GitHub pages. It seems that the CSS is not working on my website. I looked for similar discussions and tried some solutions like changing the position of the CSS file and editing the path of CSS, but it was still not working. I am not sure what's wrong with it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @Yuki9371 , I took a look at your repo, specifically in your <link rel="stylesheet" href="assets/main.css"> Result: |
Beta Was this translation helpful? Give feedback.
-
Hi David,
Thank you so much for your help. It works really well right now. I have
closed the discussion so I just sent this message through email.
Thank you,
Yuki
…On Tue, Oct 1, 2024 at 10:25 Davide Presti ***@***.***> wrote:
Hi @Yuki9371 <https://github.com/Yuki9371> ,
I took a look at your repo, specifically in your index.html, remove the
forward slash in your css path, change that line to this:
<link rel="stylesheet" href="assets/main.css">
Result:
1.jpg (view on web)
<https://github.com/user-attachments/assets/ee567741-9612-4ccb-a424-0dcdbb46136a>
—
Reply to this email directly, view it on GitHub
<#140284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGBM5SQ5JUXOGMZ3XEOWF6DZZKWHLAVCNFSM6AAAAABPFT2BKOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOBQHE4DQNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi @Yuki9371 ,
I took a look at your repo, specifically in your
index.html
, remove the forward slash in your css path, change that line to this:Result: