- This topic has 13 replies, 4 voices, and was last updated 5 years, 4 months ago by
Ying.
-
AuthorPosts
-
December 19, 2020 at 8:43 am #1587269
Dev
Hello,
I want that link color in breadcrumbs should remain black, and then when someone hover over it, it turns ORANGE #f58000
Please check the below screenshot for better details.
December 19, 2020 at 1:00 pm #1587459Tom
Lead DeveloperLead DeveloperHi there,
This should do it:
.rank-math-breadcrumb a { color: #000; } .rank-math-breadcrumb a:hover { color: #f58000; }February 6, 2021 at 7:05 am #1648237Dev
Hello,
The below CSS has a stop working
.rank-math-breadcrumb a {
color: #000;
}.rank-math-breadcrumb a:hover {
color: #f58000;
}February 6, 2021 at 8:27 am #1648315David
StaffCustomer SupportHi there,
check your CSS what i can see in the cached CSS is:
@media (max-width: 768px) { .secondary-navigation { text-align:center !important } .secondary-navigation ul { display:block } .secondary-navigation .sf-menu > li { float: none; display:inline-block !important } @media (min-width: 769px) { .inside-right-sidebar, .inside-left-sidebar { position: -webkit-sticky; position: sticky; top:60px } .sidebar .widget_media_image { text-align:center } .rank-math-breadcrumb a { color:#000 } .rank-math-breadcrumb a:hover { color:#f58000 } /* More code below */You have a Media query inside another media query which will not work.
Each media query must be closed with a}February 6, 2021 at 9:52 am #1648386Dev
Hello,
Okay, I correct all the CSS issues. But the below CSS is not working.
.rank-math-breadcrumb a {
color: #949494;
}.rank-math-breadcrumb a:hover {
color: #459285;
}I disabled the Autoptimize plugin to insert all required CSS one by one again. After that, I enable the Autoptimize plugin and found the below CSS is Not working.
I’m using the settings of Autoptimize as guided by the GPP forum only. I had seen prior also Autoptimize create color and font issues with the WPSP plugin as well.
February 6, 2021 at 1:12 pm #1648510Ying
StaffCustomer SupportCan you link us to the site in question, thanks!
February 7, 2021 at 6:36 am #1648996Dev
Hello,
I have added the site link in the private box.
Please let me know.
February 7, 2021 at 8:31 am #1649273David
StaffCustomer SupportWhere have you added the CSS? I am not seeing it anywhere in your site
February 7, 2021 at 8:43 am #1649287Dev
Hello,
.rank-math-breadcrumb a {
color: #949494;
}I changed the above color code to #666666
The rest of the CSS is the same.
The code is in the simple CSS plugin. Its there.
I have also added the wp-admin login details in the private box.
February 7, 2021 at 9:27 am #1649339David
StaffCustomer SupportTry making your CSS selectors more specific eg.
.entry-header .rank-math-breadcrumb a { color: #949494; } .entry-header .rank-math-breadcrumb a:hover { color: #459285; }And make sure to clear all your caches.
February 7, 2021 at 9:33 am #1649343Dev
Hello,
Thanks, it worked perfectly.
One last thing. The last part of breadcrumbs is of black color. I want to make it also of #666666 color code. Please see the below screenshot.
February 7, 2021 at 11:34 am #1649445Ying
StaffCustomer SupportHi Dev,
Give this CSS a try:
.rank-math-breadcrumb .last { color: #666666; }February 8, 2021 at 4:52 am #1650112Dev
Thanks, it does the job.
February 8, 2021 at 11:30 am #1650795Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.