Site logo

Archived topic

Header image

5 replies · Started by takkularapsis on May 27, 2019

Viewing posts 1–6 of 6

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

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?

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?

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

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

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.

This archived topic is closed to new replies.