Jump to content

Showing logo on mobile but hide on desktop version

Recommended Posts

Site URL: https://www.josephbinderaward.com

Hello, I'd like the site logo to be hidden at the homepage of the desktop version, but still show it on mobiles.

I've already found how to hide the logo on the homepage with this code:

.homepage .header-title-logo {
    visibility: hidden;
}

But using this, it's hidden on mobiles too. My goal is to show it on mobiles and only hide it on the homepage of the desktop version.

I am happy and thankful for any help!

Link to comment
  • Replies 3
  • Views 264
  • Created
  • Last Reply

Top Posters In This Topic

On 3/23/2022 at 5:20 AM, hipe1070 said:

Yes, the "JBA22" logo.

Edit this code

.homepage .header-title-logo {
    visibility: hidden;
}

to this code

@media screen and (min-width:768px) {
.homepage .header-title-logo {
    visibility: hidden;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.