Good evening to all
I’ m using Mono Pre-built layout for my client’s website. I am trying to change the foreground (icon color) of Scroll-to-top button by using the css-code (using CSS Editor) below, without any successful result:
#scroll-to-top { background: #000000; } #scroll-to-top .svg-icon-to-top { color: #d7ff2f; }
Is there any wrong in the snippets above?
My client’s website: https://www.cp-engineering.gr
Hi :)
The first rule is working.
The second rule needs to target the path tag within the SVG and use
fill
instead of color. If you inspect the page, check inside of the SVG tag, it’s the path that needs to be targetted.Hope that helps.