Problem with :before
-
In my template, use the following CSS
.entry-content ul li:before { content: ''; display: block; position: absolute; left: -23px; top: 8px; width: 8px; height: 8px; overflow: hidden; background: #ff963a; border-radius: 4px; }
And this selector has higher priority than yours.
.wwm_social_share li:after, .wwm_social_share li:before { content: none; }
Which is why my styles apply to your icon. I advise you to add
!important
.wwm_social_share li:after, .wwm_social_share li:before { content: none !important; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problem with :before’ is closed to new replies.