Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #648897

    I know there is CSS code to remove icon from Blog Grid layout, but I only want to eliminate the icon if there is no image. Can this be done? Again, I want to remove the icon if there is no image. If there is an image, the picture would appear. website is esomethin.com/yoursource.

    Thanks,
    kfranck

    #649811

    Hey Kurt,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .blog-meta .iconfont {
        display: none;
    }
    .blog-meta a {
        background: transparent!important;
    }
    

    Best regards,
    Yigit

    #649881

    I entered the code in the Quick CSS and unfortunately the icons still remain. Other suggestions?
    Thanks,
    Kurt

    #650380

    Hi Kurt,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #650419

    Rikard:

    I know there is Quick CSS code that will eliminate images all together:
    .home .avia-content-slider .slide-image { display: none; }

    I was just wondering if there was a possibility to display images when they are with a post, and have nothing when there is not.

    If this cannot be done, no problem. I will use the {display: none;} code. The login credentials are in the Private Content box.

    Thanks,
    Kurt

    #651050

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    span.fallback-post-type-icon { display: none; }
    

    Best regards,
    Yigit

    #651117

    Yigit:

    It removed the image but left a shadow box where the image went. Is there anything else I can do?
    Thanks,
    Kurt

    #651400

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    span.fallback-post-type-icon + *, span.fallback-post-type-icon + * + * {
        display: none!important;
    }
    .avia-content-slider .fake-thumbnail .slide-image {
        border: none;
        min-height: 0;
    }
    

    Best regards,
    Yigit

    #651481

    Yigit:

    Perfect! That solves my problem. Thank you. You guys are always very helpful. I am very appreciative.

    Regards,
    Kurt

    #651484

    Hi!

    You are welcome, we are always happy to help Kurt!
    Let us know if you have any other questions or issues

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Remove icon from Blog Grid layout only when no image’ is closed to new replies.