Advertisement:

Author Topic: Changing default text colour for the Curve 2 theme from black to X  (Read 864 times)

Offline LankyBM

  • Newbie
  • *
  • Posts: 4
Hello all,

First of all, I am sorry if this question has been asked - I have been searching for the last hour, and came up blank for a result...

I am new to the SMF world, and set up a simple website (using SMF 2.1 RC2). I have been able to change the default colours of the blocks, background etc... using a mod (Curve2 Color Changer), which is exactly what I needed (the background is required to be a darker colour to meet a certain colour scheme).

However, I cant find any simple way of changing the base text from black to any other colour (an off-white would be great). To be specific, I refer to the menus, the forum posts, topic headlines etc.. they are all in a standard black colour.

I attempted to use the Inspector tool, and found out that changing one part would change multiple other areas (I think?), which is fine... however, that is as far as I have got. I know that it is somewhere in the index.css file, but I have been unable to find it despite playing around for a while. I have not changed anything else from the standard Curve 2 theme, so I hope someone will be able to pin point it in a few seconds and without much effort!

Thanks in advance!!

/Sam

Offline Sir Osis of Liver

  • SMF Super Hero
  • *******
  • Posts: 10,109
  • Hoarding Budweiser in NY
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #1 on: January 14, 2020, 04:00:27 PM »
The overall text color is here -

index.css

Code: [Select]

body {
background: #e9eef2;
font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
color: #4d4d4d;
display: flex;
flex-direction: column;
min-height: 100vh;
}


That won't affect link colors.

Offline LankyBM

  • Newbie
  • *
  • Posts: 4
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #2 on: January 15, 2020, 01:30:34 AM »
Thanks for the reply - I change it to as following (which should be an off-white if I am correct);

Code: [Select]
body {
   background: #e9eef2;
   font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif;
   color: #f9e9e9;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
}

however, this appears to have changed nothing, at least from what I can tell.... attached a picture of the output for clarification of what I try to change.



Offline LankyBM

  • Newbie
  • *
  • Posts: 4
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #3 on: January 15, 2020, 01:43:21 AM »
could this be down to the fact I am using the following mod (Curve2 Color Changer)?

https://custom.simplemachines.org/mods/index.php?mod=4231

I tried to uninstall the mod, and then try this again, but it still did not "do" anything, from what I can tell.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,462
  • Gender: Male
    • i30 Owners Club
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #4 on: January 15, 2020, 05:47:17 AM »
Did you refresh your browsers cache?  That wouild be ctrl+F5 if using Windows.

Offline Hatshepsut

  • Jr. Member
  • **
  • Posts: 114
  • Gender: Male
    • bgnacionalisti.org/ on Facebook
    • Bulgarian Nationalist Forum
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #5 on: January 15, 2020, 07:58:51 AM »
Hello all,

First of all, I am sorry if this question has been asked - I have been searching for the last hour, and came up blank for a result...

I am new to the SMF world, and set up a simple website (using SMF 2.1 RC2). I have been able to change the default colours of the blocks, background etc... using a mod (Curve2 Color Changer), which is exactly what I needed (the background is required to be a darker colour to meet a certain colour scheme).

However, I cant find any simple way of changing the base text from black to any other colour (an off-white would be great). To be specific, I refer to the menus, the forum posts, topic headlines etc.. they are all in a standard black colour.

I attempted to use the Inspector tool, and found out that changing one part would change multiple other areas (I think?), which is fine... however, that is as far as I have got. I know that it is somewhere in the index.css file, but I have been unable to find it despite playing around for a while. I have not changed anything else from the standard Curve 2 theme, so I hope someone will be able to pin point it in a few seconds and without much effort!

Thanks in advance!!

/Sam

You can change base text color by using 'Curve 2 color changer' mod.
Look for "Foreground color" option in Admin panel => Configuration => Current Theme

Offline LankyBM

  • Newbie
  • *
  • Posts: 4
Re: Changing default text colour for the Curve 2 theme from black to X
« Reply #6 on: January 17, 2020, 11:40:53 AM »
Thanks for the feedback! No idea how I missed that in the mod... did the trick perfectly!

Of course, it threw up another small issue... now the calendar has white background text... and it’s hard to see the options. Is there a way to just change the calendar colours?