0
Welcome Guest! Login
0 items Join Now

SOLVED Spacing above and below Afterburner2 menu bar

  • SOLVED Spacing above and below Afterburner2 menu bar

    Posted 9 years 8 months ago
    • How do I change (reduce) the spacing above and below the Afterburner2 menu bar? It looks like the #rt-header div is what's controlling this, and I've tried playing with the div margins, padding and height in my custom css file, but without any success.

      Thanks.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Spacing above and below Afterburner2 menu bar

    Posted 9 years 8 months ago
    • Could you please post a URL to your site (this can be done in the secure area tab if you prefer) so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Spacing above and below Afterburner2 menu bar

    Posted 9 years 8 months ago
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Spacing above and below Afterburner2 menu bar

    Posted 9 years 8 months ago
    • Use this code...
      div.menu-block {
          margin-top: 0;
          margin-bottom: 0;
      }
      This is how to create a custom CSS compatible with Gantry 4...

      Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Spacing above and below Afterburner2 menu bar

    Posted 9 years 8 months ago
    • Worked like a dream. Thanks!

Time to create page: 0.052 seconds