Home Forums Theone WordPress Theme Latest/related post colour overlay and excerpt

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 1 year, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7961

    KASPER HANSEN
    Participant

    Is it possible to have a transparent colour overlay to the images when having the cursor over images in a latest/related post?

    And is it possible to have a short excerpt below in the latest/related post with a ‘read more’ link at the end which leads you to the page?

    Thanks again for your help!
    K

    #7967

    BWSM
    Keymaster

    Hi,

    1. Please add the css to style.css

    .isotope-item.container3d:not(.standard-list-item) > .inside  > a { display:block;position: relative; }
    .isotope-item.container3d:not(.standard-list-item) > .inside  > a:before {content:'';position: absolute;top:0;left:0;width:100%;height:100%;opacity: 0; background-color: #333; }
    .isotope-item.container3d:not(.standard-list-item) > .inside  > a:hover:before {opacity: .4;}

    2. find ../functions/pagebuilder/modules/latest-post.php, try to add the code here(https://www.dropbox.com/s/h98vhy13xgsw0c3/QQ20150718-1.jpg?dl=0):
    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" class="latest-more">Read More</a>

    Cheers!
    Bwsm – uiueux.com
    Twitter Facebook

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.