So I'm writing a book and I managed to put the chapter name on the even pages header and the section name on the odd pages header, and I also could make the chapter name lowercase and my problem now is with the section name, it is all upper case. As shown in the pictures. I want it also to be lowecase. Any solutions!!

Here's my preamble:
\documentclass[12pt, twoside]{book}
\usepackage[ paperwidth=15cm, paperheight=22cm]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\fancyhead[LO, RE]{\thepage}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername
\ \thechapter.\ #1}{}}


fancyhdr, it's very simple:\nouppercase{\leftmark}and\nouppercase{\rightmark}– egreg Oct 16 '20 at 14:25