Modify this Bootstrap Expandable Image Gallery

How can I modify this Bootstrap Expandable Image Gallery; I want to make the expandable card fit the width of the screen when an image card is clicked but keep the 4 image cards in the same position?

I’m having trouble trying to figure it out as its a complicaed code for me. Any help would be greatly appreciated.

Couldn’t add a Jsfiddle but heres links to Demo and Git Hub:

GitHub link :
Live Demo :


Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. At a modest guess I’d say investing a 4-5 hours working through the curriculum here will really pay off. You can find the curriculum at

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

Happy coding :slight_smile: