Tagged: Style HR
I am having a hard time changing the color of my Horizontal rule lines. I need to have an HR separator the is orange. I want to be able to have an HR element and have it default to a blue color instead of grey. How can I make this change?
I also would like the option of having another HR on my site that is a different color than the default blue.
Thanks for any help you can provide
Hey kenshejoe,
Please provide a link to the site/page in question so we can look into this further, but the following should work:
hr { background-color: red; height: 1px; border: 0; }
Best regards,
Jordan Shannon
The site I’m working on is not public.
I will try the code provided. I’m using the Enfold theme and I’m adding this to my CSS.
If this doesn’t work, I will recreate the issue on a page that is public.
The code didn’t work for me. I know I’m missing something, but I can figure out what I’m doing incorrectly.
Hi,
It’s a border. Add this to quick css:
.main_color div{
border-color: red!important;
}
Best regards,
Jordan Shannon