Jump to content

Media Query for H1 displaying different from tablet to full screen

Recommended Posts

Site URL: http://flowerwalldubai.squarespace.com

Hello, 

Please could someone help me? I've entered the below custom CSS to stop the 'Welcome to' and 'Flowerwall Dubai' text from overlapping, this works fine on tablet and mobile view but has a large space in between on full screen?

I'm not sure what to do now? 😥

@media screen and (max-width: 641px) {
body { font-size: 11pt;
line-height: 20px;
  text-align: center;}
 
h1 {font-size: 30pt;
  padding: 10px;
  }
h2 {font-size: 30pt;
  font-weight: 400;
  text-align: center;}
h3 {font-size: 16pt}
  #block-2e9f5306c508fa38a436, #block-yui_3_17_2_1_1579636239796_16990 {
    top: 100px;
    padding-top:40px;
   
  }

  #block-yui_3_17_2_1_1579640268463_14758 {
    top: 30px;}
  
}

@media screen and (min-width: 751px) {
body { font-size: 11pt;
line-height: 20px;
  text-align: center;}
 
h1 {font-size: 30pt;
  padding: 10px;
  }
h2 {font-size: 30pt;
  font-weight: 400;
  text-align: center;}
h3 {font-size: 16pt}
  #block-2e9f5306c508fa38a436, #block-yui_3_17_2_1_1579636239796_16990 {
    top: 100px;
    padding-top:40px;
   
  }
  #block-2e9f5306c508fa38a436 { 
  top: -30px;}
  
  #block-yui_3_17_2_1_1579640268463_14758 {
    top: -50px;} 
  
}
.Mobile-overlay-nav-item, .Mobile-overlay-folder-item { text-align: center;
}

 

Screenshot 2020-02-04 at 21.27.40.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.