0
Welcome Guest! Login
0 items Join Now

Disable merging to the master css

    • gobezu's Avatar
    • gobezu
    • Newbie
    • Posts: 7
    • Thanks: 0

    Disable merging to the master css

    Posted 11 years 1 month ago
    • I was in need of disabling the compilation of the master-*.css file and see instead the actual constituent css files included in the page.
      Can this be done somehow?
      Thank you!
    • Last Edit: 11 years 1 month ago by gobezu.
    • jproven.com
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • gobezu wrote:
      I was in need of disabling the compilation of the master-*.css file
      You can't as master-*.css is a compilation of all the stylesheets required, according to your settings in Template Manager, put into ONE file.
      Why would you want to disable it? Do you want to override something. For more info see -> http://gantry-framework.org/documentation/joomla/advanced/less_css.md
    • gobezu's Avatar
    • gobezu
    • Newbie
    • Posts: 7
    • Thanks: 0

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • I want to disable the merging as the naming of the master file seem to vary, and I am in need of addressing the css files directly.
      Is there any predetermined scheme I can apply to address the master css file?
    • jproven.com
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • gobezu's Avatar
    • gobezu
    • Newbie
    • Posts: 7
    • Thanks: 0

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • Thank you for your assistance however I would appreciate if you can disclose to me how this file is pulled together and I will take responsibility for its correct performance.
      I am truly in need in dismantling that file and the other means is that I spend some hours in trying to find out how you do it.
      Thank you in advance!
    • jproven.com
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • gobezu wrote:
      I am truly in need in dismantling that file and the other means is that I spend some hours in trying to find out how you do it.
      Thank you in advance!
      Again, I don't see any possible scenario where you would need to dismantle the file. Simply override the CSS with anything you need to do. It's not that hard ;)
      Can you clarify exactly why you need to "dismantle" it, I don't understand?

      I also think you don't understand the complexity of what your asking. It's the Gantry framework that reads the changes made in your Template Manager or your site then using that data to determine what CSS should input into the compiler engine. As for compilers here is an example -> http://crunchapp.net/

      Lastly we always try to help our members but please do remember that support is provided FREE. There are currently ELEVEN moderators spread Globally, serving over 100,000 members. We try to do our best with the resources we have, Just check out the Terms of Service you agreed to when becoming a member.
      So I don't see a Rockettheme product that is "broken" here. What you are asking would fall more into line with the Marketplace forum as you need a developer to assist you in whatever your trying to accomplish.
      Good Luck ;)
    • Last Edit: 11 years 1 month ago by DanG.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • You can rewrite the styledeclaration.php in the features folder of the template (assuming we are talking about the basic Gantry-template)

      That's were
      $gantry->addLess('global.less', 'master.css', 8, $lessVariables);
      gets added to the template

      How that works is explained in the docs just as Dan mentioned already
      gantry-framework.org/documentation/joomla/advanced/less_css.md

      Instead of calling global.less you could add the files one by one and compile them as single files ...

      But I can't see what that is good for or why you want to do that.

      (Might be useful for you to know that Gantry is using lessphp.gpeasy.com to compile stuff ...)
    • Last Edit: 11 years 1 month ago by Henning.
    • gobezu's Avatar
    • gobezu
    • Newbie
    • Posts: 7
    • Thanks: 0

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • The issue was believed to be resolved by having the right order between the files from rt and the involved extensions, we have found other approaches to solve and no need to dismantle master-*
      Although I am not quite sure about the comment about free support made by Dan, I truly remain grateful for your timely efforts and responses.
    • jproven.com
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Disable merging to the master css

    Posted 11 years 1 month ago
    • gobezu wrote:
      I am not quite sure about the comment about free support made by Dan
      Let me clarify, as a Mod our marching orders are:
      1. a product on a members site that is broken or breaking something
      2. explanation on how products work or direct them to more details on their issue
      3. some SIMPLE CSS changes
      Anything that would require development does not fall into the 3 above categories above so we direct them to the MARKETPLACE forum.

Time to create page: 0.083 seconds