Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1206480

    He
    We try to replace the default icon with an image. we use this css code for this:

    
    #top .fallback-post-type-icon {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    background: url(https://new.fcallmendingen.ch/wp-content/uploads/2020/03/football-157930_640.png) no-repeat center center;
    background-size: contain;
    }
    

    It works, but now we have both, the old default icon and the new default icon in one.
    How we can disable the old default icon?
    Thanks very much.
    Best regards
    Mike

    #1206588

    Hey Mike,

    Can you try adding this CSS code:

    #top .fallback-post-type-icon:before {
        display: none;
    }

    Hope it helps.

    Best regards,
    Nikko

    #1206752

    Hi Nikko
    It works! Thanks very much.
    You can close this issue.
    Best regards
    Mike

    #1206832

    Hi Mike,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great weekend!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Replace default icon with an image’ is closed to new replies.