Does there exists a function $g\colon (0,1) \times (0,1) \to \mathbb{R}$ such that
- $g$ is non-negative a.e.,
- $g = 0$ on some set of positive measure,
- $\int_0^1 g(x,y) dy = 1$ for $x \in (0,1)$,
- there exists a function $f\colon (0,1) \to \mathbb{R}$ which is strictly positive a.e. and satisfies $$ f(y) = \int_0^1 g(x,y) f(x) dx, \qquad y \in (0,1)? $$
Is it possible to give an example of such $g$?
If you define $g\ \colon\ (x,y) \longmapsto\begin{cases} 0&\text{if $x\le 0.5\ $ and $y<0.5$}\\ 0&\text{if $x>0.5\ $ and $y\ge 0.5$}\\ 2&\text{otherwise} \end{cases}$
You take $f=1$, $g$ and $f$ satisfy your conditions.