Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 22, 2024 - @276.08 (what is this?)
Forum activity rating: Three Stars Posts: 38/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :happy: Open the all windows! Your mind needs storms and air! :happy:

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


« previous next »
Pages: [1] Print
Author Topic: [SOLVED] Bold font not changing color  (Read 191 times)
zj
Jr. Member ⚓︎
**


⛺︎ My Room
StatusCafe: zeejay
iMood: zeejay

View Profile WWW

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

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

why dontcha have a peek at my site :eyes:
(23 years old)
this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click to feed him :3
Paprika
Sr. Member ⚓︎
****


Go to the tanterwomps for they are lost in time

⛺︎ My Room
StatusCafe: matchaprika
XMPP: Chat!

View Profile WWW

Thanks for being rad!the one and only paprika!Giver of Many Welcomes!Joined 2024!
« Reply #1 on: July 12, 2024 @540.22 »

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
zj
Jr. Member ⚓︎
**


⛺︎ My Room
StatusCafe: zeejay
iMood: zeejay

View Profile WWW

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

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

why dontcha have a peek at my site :eyes:
(23 years old)
this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click to feed him :3
zawieja
Jr. Member ⚓︎
**


Call me Ren!

⛺︎ My Room

View Profile WWW

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

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

─── °∘❉∘° ───


─── °∘❉∘° ───
zj
Jr. Member ⚓︎
**


⛺︎ My Room
StatusCafe: zeejay
iMood: zeejay

View Profile WWW

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

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

why dontcha have a peek at my site :eyes:
(23 years old)
this is Kurt ↓
gif of a ""tamaNOTchi". Click to feed!
click to feed him :3
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Do you like death note?

Started by JackFrostBoard ⛺︎ ∙ Cinema

Replies: 16
Views: 2400
Last post March 07, 2024 @830.49
by Diggon
Is using EM instead of PX for font size better for different screens?

Started by LittleGr33nIMPBoard ☔︎ ∙ I need Help!

Replies: 8
Views: 984
Last post February 06, 2023 @658.46
by TheFrugalGamer
Color as a multimodal communication device on forums

Started by MemoryBoard ☌ ∙ Melon's Laboratory

Replies: 9
Views: 1012
Last post June 29, 2024 @658.90
by watermelon3y3s

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies 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