I am centering a text:
\documentclass{memoir}
\renewcommand{\partpageend}{} %% can write after part title
\usepackage{graphicx}
\renewcommand{\beforepartskip}{% added <<<<<<<<<<<<<<<<<
\centering
\includegraphics[width=0.4\linewidth]{example-image}
\par\vfill
}
\begin{document}
\part{This is a title}
\begin{center}
\textbf{This text is being centered and that's what I want.}
\vfill
\end{center}
\newpage
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
This text should not be centered anymore.
\end{document}
But after \end{center}
everything else is still being centered.
Thank you in advance.
\centering
in your\beforepartskip
. Surround that with another pair of braces:{\centering ... \par\vfill}