Issues with Bars, beats in the timeline

I am a new user to Cubase. While working on this project I had a loop of 8 bars when I started. During the session at some point I may have pressed something and it changed the timeline to 26 bars. Yet, it still is a 8 bar loop. I don’t know what caused this, if anyone could let me know how to reverse this. It would be helpful.

You’ve changed the Project’s time signature from 4/4 in your first pic to 1/4 in your second.

Look to the right of your tempo setting at the bottom.