Make up for having got out of line? (7)
I believe the answer is:
redress
'make up for' is the definition.
(thesaurus)
'got out of line?' is the wordplay.
I cannot quite see how this works, but
'line?' could be 'red' (red line is a kind of line) and 'red' is located in the answer.
This may be the basis of clue (or it may be nonsense).
'having' is the link.
Can you help me to learn more?
(Other definitions for redress that I've seen before include "set things right" , "Get back into gear" , "Prepare again - satisfaction" , "Correct" , "Make amends for" .)