Page 1 of 1

I need help attaching my stylesheet

Posted: Mon Jan 29, 2024 6:45 pm
by Yanda
Guys, I can't get my css to show.
I made a separate page with "styles.css" and
I put this code below on my head tags:

Code: Select all

<link rel="stylesheet" href="styles.css"/>
Even if I do it like:

Code: Select all

<style> /*My css here*/ </style>

Re: I need help attaching my stylesheet

Posted: Mon Jan 29, 2024 7:08 pm
by Xkria-uy

Code: Select all

<link rel="stylesheet" type="text/css" href="https://your page css">

Re: I need help attaching my stylesheet

Posted: Tue Jan 30, 2024 1:12 am
by vikkas
Attaching stylesheet
Attaching stylesheet
snapshot_m.wapka.org_1706577033597.png (113.42 KiB) Viewed 6475 times

Re: I need help attaching my stylesheet

Posted: Tue Jan 30, 2024 8:35 am
by Yanda
Thank you guys, I tried all that. I think maybe it's the theme I installed. I gotta delete and see what happens.

Re: I need help attaching my stylesheet

Posted: Tue Jan 30, 2024 12:22 pm
by francisco
Yanda wrote: Tue Jan 30, 2024 8:35 am Thank you guys, I tried all that. I think maybe it's the theme I installed. I gotta delete and see what happens.
Hello! Make sure that when creating a new page for your styles.css you set the "Page Name" to just "styles" and "Page Content Type" to "text/css (css)":
Image

If you set the "Page Name" to "styles.css" you will end up getting a page called "styles-css", which could be causing the error you are experiencing.
Image