I want to show a thick line on the left and right borders, i found the similar quetion here Right border but just for right border, here is my MWE:
\documentclass{beamer}
\usetheme[secheader]{Madrid}
\author{diabonas}
\title{Frame border}
\setbeamertemplate{background canvas}{%
{\color{black}\hspace*{\dimexpr\paperwidth-3pt\relax}\rule{10pt}{\paperheight}}%
}
\begin{document}
\begin{frame}
content
\end{frame}
\frame{Content}
\begin{frame}
content
\end{frame}
\end{document}



\paperwidthwith0ptin the question you cited?! – Dr. Manuel Kuehner Feb 18 '18 at 16:34\color{black}\rule{10pt}{\paperheight}\hspace*{\dimexpr\paperwidth-20pt\relax}\rule{10pt}{\paperheight}might do what you want to achieve. – leandriis Feb 18 '18 at 16:49leftversion. – Dr. Manuel Kuehner Feb 18 '18 at 16:52