Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1401850

    Lee
    Participant

    Hi,

    Wondering if anyone can help, as I have searched the forums and can not find anything that seems to be relevant.

    I know how to change our default placeholder image in child theme functions.php, and this appears for categories that do not have a image and on the product page all fine.

    But I can not find out how to display the image on the shop page for products. Please see the attached pics.

    Also, I have tried disabling functions.php and style.css in my child theme, to see if it was any code I have done that was interfering, but they still have no image.

    Any help would be appreciated.

    Regards.

    Lee.

    #1401857

    Lee
    Participant

    Here is pic 2!

    #1402277

    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1402914

    Lee
    Participant
    This reply has been marked as private.
    #1403007

    Thai
    Moderator

    Hey There,

    The default image seems to work fine on my end:

    View post on imgur.com

    Could you please double check again or send me the link which is not working?

    Thanks.

    #1403129

    Lee
    Participant
    This reply has been marked as private.
    #1403444

    Rad
    Moderator

    Hi there,

    I’m confused, but that product has featured image. Your screenshots are also not a product page. Would you mind providing more details? Or please provide the URL that has featured image issue.

    Thanks!

    #1404689

    Lee
    Participant
    This reply has been marked as private.
    #1405554

    Friech
    Moderator

    Hi There,

    Thank you for the clarification. Would you mind providing us with login credentials (wp-admin and FTP) in private reply, so we can take a closer look.

    The credentials you provided above does not work.

    Thanks.

    #1406876

    Lee
    Participant
    This reply has been marked as private.
    #1407235

    Nabeel A
    Moderator

    Hi again,

    Thank you for providing the credentials. Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .no-post-thumbnail .entry-product .entry-featured a:first-child {
        background: url(https://shop.abyssaquatics.co.uk/images/placeholder.png);
        background-size: cover;
        padding-bottom: 100%;
    }

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1407791

    Lee
    Participant

    Works like a charm!
    Thank you so much, this has been bugging me for a while now.

    🙂

    #1407893

    Thai
    Moderator

    If you need anything else please let us know.