Darko
September 21, 2022, 6:13pm
1
Hey there,
I’m doing a wireframe kit / practicing layouts in Bootstrap Studio.
I’d love to know what would be the best way to create a Hero with split screen background.
On one side ‘Call to action’ content and on the other side full height background image like in the attached screenshot.
Thanks!
It should done with row and col :")
1 Like
The Hero Clean Reverse component can do this with a few mods.
Make the parent Container fluid and remove all the padding classes.
Remove the padding and margin classes from the div that contains the image.
Remove the min-height from the image if necessary.
Add the class px-md-0 to the right column.
Change the flexbox settings on the text column to justify center on XS, and default on SM to XXL.
Add the class py-5 (or py-4 if you prefer) to the div with the text in it.
1 Like
Darko
September 22, 2022, 1:17pm
5
Thank for suggestions! I’ll try out once I’m back home.
Darko
September 22, 2022, 1:20pm
6
@kuligaposten
Thanks! Would you mind sharing the BSS file? I’d love to take a look.
@Darko
I shared it in the online library
search for darko split-screen
1 Like
Darko
September 23, 2022, 1:58pm
8
Thanks a lot! Will be taking a look!