[Support request] Header image

Home Forums Support Header image

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #911995
    Tarko

    Hi,

    I have couple different questions.

    1) If i have header image 400px height, how can i put in header without any text inside? Now, without any text it wont show?

    (You can say if this question isnt for your support area 🙂 )

    2) Am i able to edit themes functions.php to get those empty attributes hidden in woocommerce? Is there a quick way or you wouldt happen to have a code snippet for it? https://snag.gy/b2Sr3y.jpg

    #912051
    David
    Staff
    Customer Support

    Hi there,

    1. if you’re using the Header Element then this article will help:

    https://docs.generatepress.com/article/how-to-create-a-page-hero/

    2. You should not edit the themes function files. If you need to make changes then using a Child Theme is the way to do that. How are those attributes being added to the product?

    #912118
    Tarko

    Hi,

    Thanks for quick reply.

    I have imported those attributes with csv export import plugin.
    At the csv there was header for example “attribute:pa_Input voltage (Vac)”.

    If i go to product page in back end, and remove mark “show attribute in product page” it removes all those empty values from front end and it works like that if i want to remove. But problem is that there are over 1000 product like this. And maybe those empty values shouldnt even be displayed in default but stil those are? Maybe i have done something wrong when importing csv?

    #912188
    David
    Staff
    Customer Support

    I would advise that the source file is edited and any empty attributes are removed before importing. Is that possible?

    #912198
    Tarko

    Sadly its not possible…Theres a capture of typical csv row -> https://snag.gy/4Xcj0n.jpg Maybe ill go through every product 🙂

    #912276
    David
    Staff
    Customer Support

    You may want to have a word with the Woo guys – i know if you create an attribute it will only save if their is a value in there. So maybe the import process is ignoring that check.

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