Profile Visited Link Color Help?

Started by Shades., March 05, 2023, 12:45:29 PM

Previous topic - Next topic

Shades.

I have the Remixbreadcrumbs mod installed and have changed the colors in the remixbreadcrumbs.css to match my site but can't find #0000FF in any of my .css files for the profile visited link shown in the image below and it is nowhere in the mod files. Any help would be appreciated!

You cannot view this attachment.

Thanks,
Shades 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Sesquipedalian

The same value could also be written in the CSS as "#00F", "rgb(0, 0, 255)", "rgba(0, 0, 255, 0)", or "blue".

However, it looks like the link in this case is just inheriting its colour directly from the browser's default CSS. If you have changed your theme's CSS and/or HTML in such a way that no other rules apply a colour to that link, then the default colour is used.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Shades.

Quote from: Sesquipedalian on March 05, 2023, 01:14:37 PMThe same value could also be written in the CSS as "#00F", "rgb(0, 0, 255)", "rgba(0, 0, 255, 0)", or "blue".
I could not find any of those in CSS.

Quote from: Sesquipedalian on March 05, 2023, 01:14:37 PMIf you have changed your theme's CSS and/or HTML in such a way that no other rules apply a colour to that link, then the default colour is used.
How would I apply a color to that link to override whatever is causing it to be blue?
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Shades.

So I figured out a workaround that fixed the problem. ;)

I changed: (in index.css)
/* This is about links */
a, a:visited {
color: #556b2f;
text-decoration: none;
}

To:
/* This is about links */
a, a:visited {
color: #939649 !important;
text-decoration: none;
}

Changed the color and added !important 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Sesquipedalian

That change is likely to have side effects, because it targets nearly every <a> element on the page. It would probably be better to write a more specific rule so that you can narrow down the scope to just the elements that you want to affect.
I promise you nothing.

Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

TwitchisMental

#5
Quote from: Sesquipedalian on March 05, 2023, 04:12:06 PMThat change is likely to have side effects, because it targets nearly every <a> element on the page. It would probably be better to write a more specific rule so that you can narrow down the scope to just the elements that you want to affect.
^This, it would be best to add something like -

.navigate_section a:visited {
    color: #fff ;
}


to the remixedbreadcrumb.css file directly.

Shades.

#6
Quote from: TwitchisMental on March 05, 2023, 08:45:07 PM
Quote from: Sesquipedalian on March 05, 2023, 04:12:06 PMThat change is likely to have side effects, because it targets nearly every <a> element on the page. It would probably be better to write a more specific rule so that you can narrow down the scope to just the elements that you want to affect.
^This, it would be best to add something like -

.navigate_section a:visited {
    color: #fff ;
}


to the remixedbreadcrumb.css file directly.
I will try that and report back thank you! 8)
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Advertisement: