I'm trying to add github link and icon in moderncv classic template.

I'd like to add it to place at additional information. as in this image

I'm using :


but it doesn't add at the specified place but it goes to another place.


link to code There are also .cls and several other .sty file. I'll add that if needed.

  • Welcome to TeX.SX! Please help others to help you by providing a complete but minimal example document that reproduces the problem you encounter. – siracusa Sep 1 '18 at 17:53
  • Thanks. I'm making changes in a template available on [sharelatex](sharelatex.com). Added the link. – krishna Sep 1 '18 at 17:57
  • Thank you for posting a working example! At the same time, much of your code does not seem to be relevant to the question you're asking here. Please limit the example to only the code required for your issue to appear. You can have a look at this guide for how to prune your code for this purpose. – Marcel Krüger Sep 1 '18 at 18:22

Well, you have to change additional information to your wished content:

\extrainfo{\faGithub\href{https://github.com/}{ name}}% <===============

Please see with the current version of moderncv (version 2.0.0) you can use command


to add your github informations.

Please see the following MWE


% moderncv themes
\moderncvstyle{classic} % casual, classic, banking, oldstyle and fancy


\usepackage{fontawesome}% <=============================================

% personal data
\title{Resumé title}
\address{street and number}{postcode city}{country}
\social[github]{jdoe} % <===============================================
\extrainfo{\faGithub\href{https://github.com/}{ name}}% <===============
\quote{Some quote}




\cventry{year--year}{Degree}{Institution--3}{City--4}{\textit{Grade}--5}{Description--6}  % arguments 3 to 6 can be left empty

\section{Master thesis}
\cvitem{description}{Short thesis abstract}


with the result:

enter image description here

  • Thank you. I found the solution for this but forgot to answer here. But I'm stuck on adding stackoverflow icon with link. Can I add it too? If there is one liner solution you can add here else I'll ask another question for that. – krishna Oct 10 '18 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.