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

CSS to Remove Blank Space Above and Below Site Title on Mobile?



Site URL: http://amyroperlyons.com

I want to remove the large blank spaces above and below the my Site Title (AMY ROPER LYONS) on mobile (see image attached). There are no big spaces on desktop or tablet view. I tried all the code I could find on this forum that seemed to apply to this situation but nothing had any effect. Web address is http://amyroperlyons.com if you want to look.

Annotation 2020-10-11 231136.jpg

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0

Thanks very much, Tuan! The code you suggested:

@media screen and (max-width:767px) {
header#header {
    padding-top: 0 !important;
    margin-bottom: 0;
h1.logo {
    font-size: 40px !important;

worked perfectly and the body images and text now appear much closer to the Site Title on mobile. Thanks!

Annotation 2020-10-12 103353.jpg

Edited by a2lyons
Link to post

Create an account or sign in to comment

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

  • Create New...