• Resolved haitacden77

    (@haitacden77)


    Hi Ben Sibley,
    I am currently using Morning theme for my blog. But I notice there is empty gray space on either side. Could you help me with CSS code to make it disappear or just to make white panel to full the site.

    Thank you in advance

    P/s:
    I used the .site {max-width: 100%} but it’s not working. I notice change min-width in @media will do but it does not work when I apply

    • This topic was modified 3 years, 8 months ago by haitacden77.
    • This topic was modified 3 years, 8 months ago by haitacden77.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey there,

    Thanks for using Morning!

    The following CSS should work to keep the site’s background white at all screen sizes:

    body {
      background: #fff !important;
    }
    .overflow-container {
      border: none !important;
    }

    You can add that code into the Additional CSS section in the Live Customizer.

    Thread Starter haitacden77

    (@haitacden77)

    It works, thank you so much!!
    Can I also ask about the logo of the site? I upload an image and the site title disappear is there a way to display both logo and site title?
    Thank you again

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome ??

    There isn’t currently a way to display both the site title and logo. As an alternative solution, you could include the site title in the logo image itself.

    Thread Starter haitacden77

    (@haitacden77)

    Okay I will make a logo with site title included! Thank you so much

    I want to ask for another question about content’s placement. I want the content to have equal distance on both left and right side. Is there a way to adjust this?

    Thank you for your help again.

    View post on imgur.com

    • This reply was modified 3 years, 8 months ago by haitacden77.
    • This reply was modified 3 years, 8 months ago by haitacden77.
    Theme Author Ben Sibley

    (@bensibley)

    Sure thing!

    Try adding CSS to center that content on the site:

    #menu-primary {
      display: block !important;
      float: none !important;
      text-align: center !important;
    }
    Thread Starter haitacden77

    (@haitacden77)

    Hi again,
    Actually I want the content to responsive. It can flexible when it’s on big screen, I mean it can have a equal distance on both left and right side. On big screen like 24″ monitor it has a white space on both side.
    Can you help me with it? Thank you for your time and patience. I am really appreciate

    Theme Author Ben Sibley

    (@bensibley)

    Okay sorry for misunderstanding. Try this code instead to remove the width limitation:

    .overflow-container {
      padding: 0 !important;
      margin: 0 !important;
    }
    Thread Starter haitacden77

    (@haitacden77)

    Hello,
    I try the css code above but it is not working. But I think this is it. Thank you so much. If you have another solution just let me know.
    Otherwise this is fine. Thank you again for your help.

    Theme Author Ben Sibley

    (@bensibley)

    Sorry, I think this CSS will work better:

    .overflow-container {
      padding: 0 24px !important;
      margin: 0 !important;
    }
    .max-width {
    	max-width: none;
    }

    You can increase the “24px” value if you want more space on the left and right sides.

    Thread Starter haitacden77

    (@haitacden77)

    It works! Thank you so much for your time and patience ??

    I will ask again if I have more concern. Thank you

    Theme Author Ben Sibley

    (@bensibley)

    Awesome. Glad we could get that working ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to get rid empty gray space on either side of blog’ is closed to new replies.