This zone is sleeping right now! ZzzZZzzz

Better not distrub it! ~You go to the petrol station and buy a slushy instead, everything is cool!~

This area will open again in 000.beats!

(Learn about Swatch Time)

Some other zones are awake :^]


Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
June 01, 2026 - @857.85 (what is this?)
Activity rating: One Star Posts & Arts: 9/1k.beats Random | Recent Posts | Guild Recents
News: :sleep: These are fast times on the World Wide Web~ Guild Events: Happy Pride Month Fibre Artists!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  [SOLVED] Bold font not changing color


« previous next »
Pages: [1] Print Embed
Author Topic: [SOLVED] Bold font not changing color  (Read 1068 times)
zj
Full Member ⚓︎
***
View Profile WWW


Woah I can type here! Wicked!!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: zeejay
iMood: zeejay

Guild Memberships:
Artifacts:
water walterFirst 1000 Members!Joined 2023!
« on: July 12, 2024 @522.67 » Embed

Hi! I recently changed ther color layout of my website. Among other things I changed the color of my font. But as you can see, bold text (and by extension, headings and link text) is still purple for some reason. I searched my style.css file for the original purple (#fceaff) to try and find the source, but it's not there. So the font is sourcing the colour purple seemingly out of nowhere?

This is the code that affects the font in my style.css file. As you can see, the color is set to #8cd98c/green. But the bold text won't change accordingly. How do I make the bold text change as well? I've tried googling it but according to google nobody else has ever had this problem before XD
Code
 @font-face {
                font-family: PixelOperator;
                src: url('https://zj.neocities.org/fonts/PixelOperator.ttf');
            }

            @font-face {
                font-family: PixelOperator;
                src: url('https://zj.neocities.org/fonts/PixelOperator-Bold.ttf');
                font-weight: bold;
            }

            
              body {
                font-family: 'PixelOperator', sans-serif;
                margin: 0;
                background-color: #8cd98c;
                /* you can delete the line below if you'd prefer to not use an image */
                 background-size: 276px;
                color: #8cd98c;
                background-image: var(--body-bg-image);
            }
I have this line
Code
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
in all my other pages.
« Last Edit: July 12, 2024 @584.84 by zj » Logged

Have a peek at my site? :eyes:
25 years old!

this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click on him to feed him!

Kalka
Hero Member ⚓︎
*****
View Profile WWWArt


Go to the tanterwomps for they are lost in time
⛺︎ My Room
XMPP: Chat!

Guild Memberships:
Artifacts:
Cube StoneMurbyGreat Posts PacmanGiver of Many Welcomes!Joined 2024!
« Reply #1 on: July 12, 2024 @540.22 » Embed

Dunno if it helps but I know that my code has a section for bold text in CSS, it looks like this :

Quote
strong {
        color: #B0C808;
      }

Perhaps you also have something like this too ?
Logged

http://internetometer.com/image/51289.png
zj
Full Member ⚓︎
***
View Profile WWW


Woah I can type here! Wicked!!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: zeejay
iMood: zeejay

Guild Memberships:
Artifacts:
water walterFirst 1000 Members!Joined 2023!
« Reply #2 on: July 12, 2024 @557.77 » Embed

Dunno if it helps but I know that my code has a section for bold text in CSS, it looks like this :

Perhaps you also have something like this too ?

Hmm, no I do not. My bold text is (I think) a separate font. Where in your code do you place that section?

I guess that making a separate color setting for the bold font is what I need, but I have no idea how to create that. I've tried, to no avail :ohdear:
Logged

Have a peek at my site? :eyes:
25 years old!

this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click on him to feed him!

zawieja
Full Member ⚓︎
***
View Profile WWW


Call me Ren!
⛺︎ My Room

Artifacts:
Epic Cat AwardFirst 1000 Members!Joined 2023!
« Reply #3 on: July 12, 2024 @563.10 » Embed

I don't consider myself that well versed in CSS but I wanted to check if I can find a solution and it seems to me like #ED64F5 magenta color is affecting it, not the light purple you've mentioned?  :dive:  likely lines like these in your CSS file in particular
Code
            h1,
            h2,
            h3 {
                color: #ED64F5;
            }

         
            strong {
                /* this styles bold text */
                color: #ED64F5;
            }

#container a {
                color: #ED64F5;
                font-weight: bold;
Logged

─── °∘❉∘° ───

https://2044.neocities.org/images/kurku.gif
─── °∘❉∘° ───
zj
Full Member ⚓︎
***
View Profile WWW


Woah I can type here! Wicked!!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: zeejay
iMood: zeejay

Guild Memberships:
Artifacts:
water walterFirst 1000 Members!Joined 2023!
« Reply #4 on: July 12, 2024 @584.55 » Embed

I don't consider myself that well versed in CSS but I wanted to check if I can find a solution and it seems to me like #ED64F5 magenta color is affecting it, not the light purple you've mentioned?  :dive:  likely lines like these in your CSS file in particular
Code
            h1,
            h2,
            h3 {
                color: #ED64F5;
            }

         
            strong {
                /* this styles bold text */
                color: #ED64F5;
            }

#container a {
                color: #ED64F5;
                font-weight: bold;


That's the one! Thank you!! :D
Logged

Have a peek at my site? :eyes:
25 years old!

this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click on him to feed him!

Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
MelonLand @000

Want to Login or Join ?

Minecraft: Online
Join: craft.melonking.net