-
gerikg
Hello!
I’m doing a Query Loop with Post. I added Dynamic data to get the featured image. I also added a black background and opacity of 50% for the background image. When I do that, the text, which is the title, also has an opacity of 50%. I want the title to be solid, no opacity.
https://ibb.co/jTphWB9
https://ibb.co/xsJJ9gx
https://ibb.co/S5Lgf20
https://ibb.co/JpwLwVQ
https://ibb.co/JzcYcSJ -
Alvind
Hi there,
You can easily fix that using this CSS:
.wp-block-post-title { position: relative; }
-
gerikg
I know I can but why does that happen. Is there a function missing for the title or the query loop?
-
Alvind
It’s just about the position of the element. Usually, I would suggest using the GB Headline block instead of the Post Title block, as the headline block offers more granular control.
-
gerikg
Thank you! I knew I was missing something.
-
Alvind
No problem 🙂
- You must be logged in to reply to this topic.