0
Welcome Guest! Login
0 items Join Now

SOLVED How to modify the background color and keep margin

    • Varda's Avatar
    • Varda
    • Rocketeer
    • Posts: 59
    • Thanks: 1

    SOLVED How to modify the background color and keep margin

    Posted 12 years 9 months ago
    • Hello,
      I'm trying to have parts of my Gantry Joomla website with a coloured background, keeping the outer 10px margin as a "frame".
      You can see it in http://sigalon.com/gantry/.

      I don't know how to color the 20 pixel wide gutters between the modules ( or in other words: how to color main body/showcase/features and keep the 10px frame.)

      I tried two methods:
      1. The first one left white gutters
      div#rt-feature div.rt-container div.rt-block {
          background-color: #E2EFE6;
      }
      2. The second covered the margins.
      div#rt-feature div.rt-container  {
          background-color: #E2EFE6;
      }

      I guess that I have to add a <div>, but I don't know how.

      I'll appreciate any help
      Varda
      P.S. I've posted the same question to Gantry Google Group
    • Last Edit: 12 years 9 months ago by Varda.
    • 1ded6's Avatar
    • 1ded6
    • Newbie
    • Posts: 10
    • Thanks: 0

    Re: SOLVED How to modify the background color and keep margin

    Posted 12 years 9 months ago
    • I think you need to add an !important to your css styles. Best regards.
    • Varda's Avatar
    • Varda
    • Rocketeer
    • Posts: 59
    • Thanks: 1

    Re: SOLVED How to modify the background color and keep margin

    Posted 12 years 9 months ago
    • Hi,
      I've solved the issue by adding an outer div after the body tag. :)

Time to create page: 0.063 seconds