I need help attaching my stylesheet

General discussion about the Wapka ecosystem. Discussion of specific Wapka-related services usually belongs in other sections.
Post Reply
Yanda
Posts: 2
Joined: Mon Jan 29, 2024 6:38 pm

I need help attaching my stylesheet

Post 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>
User avatar
Xkria-uy
Posts: 122
Joined: Fri Apr 07, 2023 9:27 pm
Location: Uruguay
Contact:

Re: I need help attaching my stylesheet

Post by Xkria-uy »

Code: Select all

<link rel="stylesheet" type="text/css" href="https://your page css">
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: I need help attaching my stylesheet

Post by vikkas »

Attaching stylesheet
Attaching stylesheet
snapshot_m.wapka.org_1706577033597.png (113.42 KiB) Viewed 23862 times
Yanda
Posts: 2
Joined: Mon Jan 29, 2024 6:38 pm

Re: I need help attaching my stylesheet

Post 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.
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

Re: I need help attaching my stylesheet

Post 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
😴
Post Reply