0
Welcome Guest! Login
0 items Join Now

Add Background Color to Gantry CSS Class

    • jnlockett's Avatar
    • jnlockett
    • Jr. Rocketeer
    • Posts: 32
    • Thanks: 0

    Add Background Color to Gantry CSS Class

    Posted 9 years 5 months ago
    • Hello,

      I've created columns in a K2 article using the Gantry CSS classes that are in the template. I have a 20%-width column and an 80%-width column. I'd like to add a background color to the 20%-width column. How can I do this? Is it possible?

      This is what I have:
      ==================
      <div class="gantry-width-block gantry-width-20">
      <div class="gantry-width-spacer">
      ....[my text]
      </div>
      </div>
      <div class=" gantry-width-block gantry-width-80">
      <div class="gantry-width-spacer">
      ....[my text]
      </div>
      </div>
      ==================

      THANK YOU!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Add Background Color to Gantry CSS Class

    Posted 9 years 5 months ago
    • If this is a site that is online (just installed, dev or live) could you please supply a link in the Public or SECURE part of your reply so we can better diagnose the issue?
      It makes our suggestions more accurate if we see the actual coding of your site.

Time to create page: 0.052 seconds