Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter sagilca

    (@sagilca)

    Ok, so I edited class-content-post_list.php and changed the line after “//default hover effect” to this:

    $thumb_wrapper = sprintf('<div class="thumb-wrapper %1$s"><a class="round-div %1$s" href="%2$s" title="%3$s"></a>%4$s</div>'

    (I removed <div class="round-div"></div>)

    And now the links work. Is it OK to do this?

    Thanks ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can do this in a Child Theme, yes.

    Theme Author presscustomizr

    (@nikeo)

    Hi @sagilca, that’s fine to do it. I also reommend to use a child theme. (You can download an example here : https://www.themesandco.com/extension/customizr-child-theme/

    This will be fixed in the next release.
    Thanks

    @nikeo – where is the download button?

    I just tried it by re-saving the parent theme’s file, class-content-post_list.php as the same name but in a corresponding parts folder in my child theme directory.

    The hover effect works, but the cursor doesn’t change to a hand, nor does the thumbnail link to the post.

    Is there more I need to do to get the child theme to override the parent?

    Thanks,
    I also have another question about displaying one category of posts (a post list) at the bottom of a page. Sort of an Archive page with static content at the top, that shows just the posts categorized under “bands” for a music festival.

    I’ll create a new forum query for that.
    Thanks!
    Mitch

    Theme Author presscustomizr

    (@nikeo)

    @chappie : it’s back now.
    Thanks, it’s so good to have you watching out! ??
    Have a nice day

    Thread Starter sagilca

    (@sagilca)

    Thanks, @nikeo. And thanks so much for your work! And yes, I use a child theme for my customizations :).

    @mitchpowell, did you remove the “<div class=”round-div”></div>” part? It works for me (hand cursor and link)

    Theme Author presscustomizr

    (@nikeo)

    You are welcome @sagilca. That’s what I do, and I love it!
    Thanks

    Yes, saglica, I did remove that. I pasted your code from above directly over the relevant part; effectively wiping out the “<div class=”round-div”></div>” part. What else might I check to make it work?

    Thanks so much ??

    Ah! Could it be I haven’t updated to 3.1.5 yet?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bug? Circled thumbnails don't link to posts’ is closed to new replies.