Ramayana tells us how a son should respect his parents by means of "Sravana Kumar" character.
It also tells how a wife should respect her husband by means of "Sita" character.
And how a brother should respect his elder brother by means of "Laxmana" character.
Also how a devotee should respect God by means of "Hanuman" & "Shabari" characters.
There are so many other characters like the above from Ramayana which continue to influence us, but still Bhagavad Gita is considered more prominent than Ramayana, why is it so?