0
Welcome Guest! Login
2 items / $48.00 Checkout

edit padding with css on <div class="g-wrapper">​;

  • edit padding with css on <div class="g-wrapper">​;

    Posted 8 years 3 months ago
    • I am not able to target classes and id with custom css to chande the padding.

      I am using the developer tool in Chrome to seemingly detect the classes and id of the elements. But it seems like I am doing the css overwrites wrong.

      How do I do this correctly?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: edit padding with css on <div class="g-wrapper">​;

    Posted 8 years 3 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: edit padding with css on <div class="g-wrapper">​;

    Posted 8 years 3 months ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: edit padding with css on <div class="g-wrapper">​;

    Posted 8 years 3 months ago
    • Use this code...
      .g-wrapper .g-container {
          padding: 0;
      }
      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.

      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.

Time to create page: 0.040 seconds