Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Widget Header Styling

Home / Forums / Virtue Theme / Widget Header Styling

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 22, 2016 at 12:23 pm

I’m using the css below to get this effect on my header titles.

h3.widget-title {
font-family: ‘Teko’;
background: #4b0466;
color: #4b0466;
text-transform: uppercase;
position: relative;
text-align: left;
}

h3 {
position: relative;
text-align: left;
text-transform: uppercase;
background: ;
}

h3 span {
background: #4b0466;
padding: 0 15px;
position: relative;
z-index: 1;
}

h3:before {
background: #4b0466;
content: “”;
display: block;
height: 1px;
position: absolute;
top: 50%;
width: 100%;
}
h3:before {
left: 0;
}

The span style does not display properly when using widget titles. Is there a code I can use to apply this style to widget titles.

  • The forum ‘Virtue Theme’ is closed to new topics and replies.