Background color
-
Hello,
I'm wondering if anyone could help me accomplish what I'm trying to do.
I'd like to create something like the image I attach. The row background color doesn't work because I'd like to keep the sides in white. Tried stack element but that didn't do the trick either because I need to keep the background color of the text area the same height as the image.
I'd appreciate very much if someone could give me a suggestion please!
Thank you.
-
Dear @yu_____go
you could try to add a background colour with CSS to each textbox and give it the same height with CSS like the image.Best!
Marius
-
@mariusjopen Thank you Marius! Would you be kind please to explain how exactly I can do that..?
-
Dear @yu_____go
you need to place a textbox on the left and an image on the right.
The textbox you can give a class called textbox and the image a class called imagebox.Then you can add in CUSTOM CSS:
.imagebox { height: 30vh; overflow: hidden; } .textbox { height: 30vh; background: red; }
This is just a rough sketch but can give you the idea.
Best!
Marius
-
Sorry @mariusjopen I somehow didn't get a notification and just noticed your reply. Thank you very much for your help I'll give it a try with that!
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache.
Now see if your problem solved itself.
Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it
I don't answer or check forum DMs, please just post on the forum.