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

Media Query for H1 displaying different from tablet to full screen

Question

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

Share this post


Link to post

3 answers to this question

Recommended Posts

Create an account or sign in to comment

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


×
×
  • Create New...