Curricula Vitae / RésumésReplace the entire gray header with a picture

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Replace the entire gray header with a picture

Post by templateuser »

Hi there!

I have modified the original template a reasonable amount, but there is one thing i can't figure out!
I simply want to replace the entire gray header with a jpg, I have tried a couple of things but it just turns the gray header black.
Any suggestions would be appreciated.

Many thanks to the author of this template!

All the best

QP

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Replace the entire gray header with a picture

Post by Vel »

Hey QP,

It's actually quite easy to do :) Just go to friggeri-cv.cls and find the line:

Code: Select all

    \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth,
           minimum height=4cm] (box) at (current page.north){};
All you have to do is add your image into the curly brackets like so:

Code: Select all

    \node [rectangle, fill=fillheader, anchor=north, minimum width=\paperwidth,
           minimum height=4cm] (box) at (current page.north){\includegraphics[width=\paperwidth]
           {placeholder.jpg};
Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Replace the entire gray header with a picture

Post by templateuser »

Thanks Vel!

You are a LaTeX wizard!!

All the best

QP
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Replace the entire gray header with a picture

Post by Vel »

No problem!
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply