0
Welcome Guest! Login
0 items Join Now

How to Find the Correct CSS File?

  • How to Find the Correct CSS File?

    Posted 9 years 7 months ago
    • When doing custom css work in the CPanel, some things are easier to find than others and a common problem I have is finding which file controls what I want to change. I use the "Inspect Element" tool which helps to a certain degree, but is there a way to know exactly what file I need to be in? Or a tool that shows the exact path to get to the file? Any help with this would be great- thanks in advance!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: How to Find the Correct CSS File?

    Posted 9 years 7 months ago
    • GABRIEL MARGUGLIO wrote:
      When doing custom css work in the CPanel, some things are easier to find than others and a common problem I have is finding which file controls what I want to change. I use the "Inspect Element" tool which helps to a certain degree, but is there a way to know exactly what file I need to be in? Or a tool that shows the exact path to get to the file? Any help with this would be great- thanks in advance!

      Even if there was a Tool to help you source the original file it wouldn't help as we DO NOT recommend changing our original files. We recommend that to avoid customizations disappearing with a Gantry 4 template update follow this guide Your first CSS custom file - OR - LESS custom file

      For Gantry 5 in your [JOOMLA-ROOT]/templates/rt_templateName/custom/scss/custom.scss (this is a link) create your custom code here.

      To find out more on Debugging & Customizing with LESS/CSS files this guide Basics: Debugging & Customizing with LESS/CSS

Time to create page: 0.132 seconds