content.php (2 posts)

  1. Andrea Fercia
    Posted 2 years ago #

    hi Nick,
    couple of things, serene 1.3 version just downloaded from wp.org:

    1. in content.php line 20 and 32 you use this conditional
    ! is_single() || ! 'video' !== get_post_format()
    not sure maybe I'm in a dumb moment but what about this:
    ! 'video' !== get_post_format()
    wouldn't be better just:
    ! is_single() || 'video' == get_post_format()

    2. the serene_post_meta_info() prints out a link which is nested inside a parent link "et-main-image-link"
    so you have 2 nested links, this makes the whole area of the play icon (et-play-video) totally unclickable for me, tested in Chrome and Firefox.
    Strange enough, this doesn't happen on your demo on elegantthemes.com

    Greetings from Italy and congratulations for your review on wpmu :-)

  2. Bielot
    Posted 1 year ago #

    In my weblog

    Andrea, thanks, I resolved following your solution,

    And I added a icon play in the featured thumbnail

    Then I changed in style.css block to none in this style

    .et-play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    margin: -80px 0 0 -80px;
    display: none;
    background: url(images/sprite.png) no-repeat -59px 0;

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.