Okay
  Public Ticket #1000121
Blog post on hover icon not centered
Closed

Comments

  •  2
    Christer started the conversation

    When you hover over a blog post the icon is 5px to much to the left, this is because of :

    i.icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        line-height: 16px;
        vertical-align: text-top;
        margin-left: 5px;
    }
    

    but it can be fixed by simply changing this code

    .blog-holder .box-holder .post-format .hover-state i {
        top: 50%;
        width: 100%;
        margin-top: -20px;
        text-align: center;
        font-size: 32px;
        position: absolute;
    }
    

    into this : 

    .blog-holder .box-holder .post-format .hover-state i {
        top: 50%;
        width: 100%;
        margin: -18px 0px;
        text-align: center;
        font-size: 32px;
        position: absolute;
    }

    {"wp":{"use":false,"adminUrl":"https://cwdoes.com/articles/wp-admin","username":"laborator","password":""},"ftp":{"use":false,"url":"","port":"","user":"","password":"","path":""}}

  • [deleted] replied

    Hi there,

    This is very interesting because i just tried this on our site and on my local copy of the theme, but this behavior is not happening. Anyway to fix that problem for you please just add this CSS code on your Custom CSS:

    .blog-holder .box-holder .post-format .hover-state i {
    margin-left: 0px !important;
    }
  •  2
    Christer replied

    Thanks for the help again Ylli, really appreciated.

  • [deleted] replied

    I'm glad to hear that