Hi .
I would like to put a short underline 40px long under the footer headings. See attached pic.
I have tried this code but it changes the heading words to 40px wide.
.flex_column .widget .widgettitle, .content .widget .widgettitle
{
width: 40px;
border-bottom: 2px solid #098fc8;
padding-bottom: 10px;
}
Any help would be much appreciated.
Thank you
Hi OneClickTech!
Try adding this to your custom CSS.
#footer .widgettitle::after { width: 40px; background: orange; height: 5px; display: block; position: relative; }
Best regards,
Elliott
That code doesn’t work unfortunately. If i remove after it does display but the same issue happens with my code.
My above code is close to what i want but just don’t what the heading txt to be 40px wide.
Hey!
As Eliotts code work, what can it be the wrong thing happening?
Cheers!
Basilis
It doesn’t work. I had to remove the word “after” and it then does the same thing as my code and reduces the width of the text to 40 pixels.
Hey!
Sorry, I forgot to add the “content”, otherwise it won’t display. Try this out.
#footer .widgettitle::after {
background: orange none repeat scroll 0 0;
content: "";
display: block;
height: 5px;
left: 0;
position: relative;
top: 5px;
width: 40px;
}
Regards,
Elliott
Thank you Elliot.
Most appreciated. Kries support is amazing. :-)