0
Welcome Guest! Login
0 items Join Now

SOLVED What is the exact path for Gantry 5 Custom.scss file?

  • SOLVED What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • I had trouble finding the exact path for Gantry 5 custom.scss. Many of the forum comments apply to Gantry 4. Regarding Gantry 5, say I duplicated the Hydrogen - Default template and called it TestTemplate.

      Would the custom.scss file path be:
      1. templates\g5_hydrogen\custom\scss\custom.scss
      2. templates\g5_hydrogen\custom\scss\TestTemplate-custom.scss
      3. templates\TestTemplate\custom\scss\custom.scss
      4. templates\TestTemplate\custom\scss\TestTemplate-custom.scss
      5. the correct path which you are going to tell us, please.

      I'm try to get rid of some unwanted space around particles and modules that the block variations "No Margin" and "No Padding" did not remove.

      I'm new to css and I created the following class based on some things that I read:

      .flush /* Comment: Class name is "flush". Purpose is to eliminate borders, padding, and margins */
      {
      border: 1px solid #000000 !important;
      margin: 0 !important;
      padding: 0 !important;
      box-shadow: none !important;
      overflow: hidden;
      width: 100%;
      }

      I placed the module in a Gantry 5 module position. In the module, under Advanced, should the Module Style be Inherited or Gantry.

      Thank you for any comments/suggestions.
    • Last Edit: 7 years 10 months ago by Pinto Buck.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • Hi there,

      The path will be the template name as shown in the Extensions Manager


      This image is hidden for guests.
      Please log in or register to see it.


      In the above example it would be rt_requiem/custom/scss/custom.scss

      Hope this helps 8)
    • The following users have thanked you: Pinto Buck


    • 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 What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • Thanks for the path explanation and images. That helped a lot.
  • Re: SOLVED What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • Hi Pinto Buck,

      Sorry - was so busy doing the first bit I forgot to answer your second question :blush:

      Glad you found a solution and thanks for posting it back as it may help others 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: SOLVED What is the exact path for Gantry 5 Custom.scss file?

    Posted 7 years 10 months ago
    • Welcome.

Time to create page: 0.050 seconds