Support » Plugin: WWM Social Share On Image Hover » Problem with :before

  • Resolved Alex Kozack

    (@cawa-93)


    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;
    }
    
    • This topic was modified 3 years, 7 months ago by Alex Kozack.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with :before’ is closed to new replies.