sudden appearance of a non-specified border in wordpress

Viewed 29

I'm kinda new to the whole website building and I just learned how to work with WordPress. I've been building a site now for a few days on WordPress, when I was writing some CSS for the site without even using the color green in my code for the home page, I saw a green border appearing when I clicked on the shopping cart and the social media icons in the footer. the green looks like the one I used for another page but it should not come up on my home page since I wrote CSS specific to each page, I even checked the code by inspecting but did not see that green color anywhere. id love to hear your ideas.

btw this is my first ever question on stackoverflow. yay :)

1 Answers

Well, I solved it. I thought it is a border problem but apparently, it was just a color problem. no idea why a border appeared but i wrote

a:visited { color: transparent;}

and the border disappeared :/

Related