0
Welcome Guest! Login
0 items Join Now

Overrides not working?

  • Overrides not working?

    Posted 12 years 3 months ago
    • Hi,
      I've created a site using the stock gantry template (v4.15 on J2.58) and I've created a rt_gantry-custom.css in the gantry template css folder. I'm trying to remove the background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(221, 221, 221)); from the contact form (hard to read with it) by applying the rule (in the custom css):

      .component-content .contact .title {
      background-image: none;
      background-repeat: no-repeat;
      background-color: #000;
      border: 1px solid #000;
      }
      By my understanding this should work (yes, I cleared my browser and the template cache), but I'm not seeing it.
      What the heck am I doing wrong?
      I also put the responsive 960 width limit code from this forum but it's not getting picked up either.
      Help!
      See here: www.curtissstudios.com/index.php/compone...er/1-shelley-curtiss
      Thanks..
      PS- I partially solved the contact form by going to the plain setting but still the responsive 960 format override is not working and all style changes I've made have been on the core install .less files.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: Overrides not working?

    Posted 12 years 3 months ago
    • Hi there,

      If you are using the base Gantry then there is no rt_ at the start :oops:

      Simply gantry-custom.css

      It is the template name as shown in templates

      Hope this helps 8)

    • 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: Overrides not working?

    Posted 12 years 3 months ago
    • Thank you very much David, I'll give that a try and mark solved on confirmation.

Time to create page: 0.070 seconds