Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Bg and font color change on hover

Home Forums Support Bg and font color change on hover

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #161413
    Tobias Hjorth

    Hi Tom and others

    Is it possible to make masonry posts (only masonry, not full post) change bg color and font color on mouse hover?

    Side question: Tom is it possible to upgrade my version from full to unlimited for a discount?

    Thanks in advance 🙂

    #161440
    Tom
    Lead Developer
    Lead Developer

    Hi Tobias,

    You can try something like this (you’ll need to change the colors):

    /* background color and text color */
    .masonry-post:hover .inside-article {
        background: red;
        color: white;
    }
    
    /* link color and entry meta color */
    .masonry-post:hover .inside-article a,
    .masonry-post:hover .inside-article a:visited,
    .masonry-post:hover .entry-meta {
        color: white;
    }
    
    /* link color on hover */
    .masonry-post:hover .inside-article a:hover {
        color: white;
    }

    You can absolutely upgrade – shoot me an email at support@generatepress.com 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.