Removing the container outline in MH Magazine Theme

  • Unknown's avatar

    Hello

    I was wondering if it’s possible to:

    1. remove the container outline for the page?
    2. centre the header logo on the page?
    3. centre align the navigation and remove the black background?

    via the Custom CSS on my site:

    http://www.littlegreybox.net

    Thanks!

  • Unknown's avatar

    Hi there,

    1. remove the container outline for the page?

    To remove the box shadow on the container in MH Magazine, go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS.

    .container {
        box-shadow: none;
    }

    2. centre the header logo on the page?

    This will center your logo.

    .logo-wrap {
        text-align: center;
    }

    3. centre align the navigation and remove the black background?

    And this will center your menu items, remove the black background and turn the menu text black.

    .main-nav {
        background: #fff;
        text-align: center;
    }
    .main-nav ul {
        display: inline-block;
    }
    .main-nav li a {
        color: #000 !important;
    }
    .main-nav ul ul li a {
        background: #fff !important;
    }
    .main-nav ul li:hover > ul li:hover > a {
        background: #ddd !important;
    }
  • Unknown's avatar

    Thank you soooo much! that is amazing.

    A couple more requests if it’s not too much trouble?

    1. How can I remove the thin grey rules that are between the stories and potentially decrease the padding between stories?

    2. Is it possible to remove the black background in the footer and reverse the text out?

    3. Is it possible to left align the text within the main navigation drop down menus?

    Thanks again for your time.

  • Unknown's avatar

    For #1, give this a try.

    .sb-widget .cp-wrap {
        border: none;
        padding-bottom: 0;
    }

    For #2.

    footer {
        color: #2a2a2a;
        background: #fff;
    }
    .footer-widget-title {
        color: #2a2a2a;
    }

    For #3, give the centering of the menu, add the following after all the menu related code.

    .main-nav .sub-menu a {
        text-align: left;
    }
  • Unknown's avatar

    Amazing! Thanks so much.

    Re: #2 Almost there but I was hoping to remove those widgets alltogether and just leave the Copyright and Theme info but remove the black background and reverse out the text for that section?

    Thank you :>

  • Unknown's avatar

    You can remove the footer widgets by going to Customize > Widgets and remove the ones in the footer 1-4 widget areas. That should collapse that widget area.

    Add this to reverse things in the copyright footer area.

    .copyright-wrap {
        background: #fff;
    }
    .copyright {
        color: #000;
    }
  • Unknown's avatar

    Amazing. Thanks so much!

  • Unknown's avatar
  • The topic ‘Removing the container outline in MH Magazine Theme’ is closed to new replies.