Bar chords are notoriously difficult when learning the guitar, so don’t be discouraged if you can’t play them perfectly right away. They are however extremely useful as once you can play the G / Sol (shown in the photo below), you can play all the other major chords too, by simply sliding up and down the neck and changing the starting fret !
Major bar chord with the root on the E string
Minor bar chord with the root on the E string
Major bar chord with the root on the A string
Note, that the example on the left is easier, whereas the example on the right is much more common, so begin with the easier version and when you feel comfortable you can try to switch.
Minor bar chord with the root on the A string
Find any major or minor chord
To know where to place your bar chord shape, you need to learn the notes on the E / Mi and A / La Strings, then place the first finger on the root of the chord you’re looking for.
Example: If you’re looking for an F# / Fa# chord, find the F / Fa# note (E / Mi string 2nd fret) and place the E / Mi Shape Chord, with your first finger on the 2nd fret of the E / Mi string.
Example 2: If you’re looking for a Cm / Do min Chord, find the C / Do note (A / La string 3rd fret) and place the A Shape Chord, with your first finger on the 3rd fret of the A / La string.
You know whether to use the A / La Shape Chord or the E / Mi Shape Chord because if you find your desired ‘root note‘ on the E / Mi String, you use the E / Mi Shape Chord, and if you find it on the A / La string, you use the A / La Shape Chord