Recently I was trying out some chords on the bass and playing around with different positions/patterns
creating different tone and sounding.
As mentioned earlier in my blog, the basic of how major chords are formed is by pressing on the root + maj 3rd and perfect 5th together. Just by adding an additional maj 7th note and you will get a maj7th chord (e.g G Maj7).
Often you can leave out the perfect 5th.
Example If you want a Gmaj7 chord, press G + B + D + F# at the same time.
When you press a 7th chords, it provides a jazzy feel. Please see tabs for basic fingering.

There are many ways to form chords, so it depend on what sounding you want and how familiar you are with the fretboards.
Have fun and don't give up.
Ben