Different Logo For Desktop and Mobile – Outreach Pro

This download folder contains the code which enables you to use a different logo on mobiles to the default image which is only shown on desktops.

On top of this, both images are centered so any text in your logo will always display in the center of your header.

Watch the following demo video to see how it works :

Demo Video #

Shows the desktop header image displayed above 600px and the mobile.png image from your images folder displaying on smaller screens.

Code Installation #

There’s 5 steps :

Step 1 – Modify the default PHP between lines 43 – 44 to match the width and height of your desktop logo which is 1140px width by 180px height.

In this example, the desktop logo dimensions match the values set in the above function.

Step 2 – Upload an image named mobile.png to the Outreach Pro themes images folder. The image you add using Customize > Header Image will be displayed on desktops.

Related Content

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.