Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
rovingpictures

Show H1 on mobile only

Question

Hi,

I want to show H1 on mobile only (otherwise there's no title, looks very bland). Really only need it on the landing page. Or get the page to display the title, but mobile only. Is this possible?

www.mattschwab.com is my website.

I had to make the landing "home" page a gallery page.

Edited by rovingpictures
Initial Revision

Share this post


Link to post

12 answers to this question

Recommended Posts

  • 1

@rovingpictures Your Code should be


@media screen and (min-width:768px) { 
#collection-5d251a18b06cd6000163f1fd h1 { display: none; } 
}



You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

Forum: I usually answer questions at 2pm - 5pm EST

How to Setup Password & Share URL - Squarespace Free Templates - Free Code - CSS ID List

Share this post


Link to post
  • 0

@tuanphan Sorry, I should have asked how do I get this for a specific range of pages? I tried #collection to test on one page but it came up with a Syntax error:

collection-5d251a18b06cd6000163f1fd,

@media screen and (min-width:768px) { h1 { display: none; } }

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...