0
Welcome Guest! Login
0 items Join Now

issue with gantry or rockettheme k2 settings

    • Ron O.'s Avatar
    • Ron O.
    • Jr. Rocketeer
    • Posts: 20
    • Thanks: 1

    issue with gantry or rockettheme k2 settings

    Posted 11 years 2 months ago
    • When I go to the RocketTheme and go to advanced and Turn on K2 Theme the images are forced at 100% and look blury, when I turn it off, it follows K2's settings on image sizes, what I did was edited thirdparty-k2.css and removed that 100% settings on there, it worked....

      But when I go to cache and refresh the Gantry, it goes back to the foreced 100% - let me know what I am missing.

      Thank you
    • render8's Avatar
    • render8
    • Rocketeer
    • Posts: 51
    • Thanks: 1

    Re: issue with gantry or rockettheme k2 settings

    Posted 11 years 2 months ago
    • Content of file thirdparty-k2.css is generated from thirdparty-k2.less file. Any changes in this file will be overwritten. You should modify thirdparty-k2.less but that is not recommended. It's better to create custom css or less file and create overrides. Here you can read how to do it.
    • Ron O.'s Avatar
    • Ron O.
    • Jr. Rocketeer
    • Posts: 20
    • Thanks: 1

    Re: issue with gantry or rockettheme k2 settings

    Posted 11 years 2 months ago
    • Render8: thanks for a speedy reply, so to sum up your explaination and the issue I am having. I have 2 options:

      Option 1: Edit the .less file and the .css file to match each other? (or do I just edit the .less file and leave the .css file as is.)

      Option 2: Create a custom css file, lets say I create a custom file, lets say custom-thirdparty.css - do I need to create a corresponding .less file for it, or all I need is that single CSS file?

      I have no major issue with the .less/.css files that thirdparty-k2.css has - only issue I have is the "image resizing" The images forces it to go to the 100% instead of the AUTO, I can easily change it but then again when we clear the Gantry file it gets overwritten to the original state.

      I have been working on this for 8 hours and thanks to you I now know why it keeps reverting back.

      Hoping for another answer for the questions above.

      Thanks again!
    • render8's Avatar
    • render8
    • Rocketeer
    • Posts: 51
    • Thanks: 1

    Re: issue with gantry or rockettheme k2 settings

    Posted 11 years 2 months ago
    • First option is not good. Yes, you can edit less file (but not css file), but you will lost changes when the template are updated.
      Second option is recommended. You can create custom css or custom less file. You have to name it tamplate_name-custom.css (not custom-thirdparty.css) or for custom less file template_name-custom.less. This way file will be automatically loaded by the Gantry framework. So for example if you are using Anacron template you have to name custom css file so: rt_anacron-custom.css. You need only one custom file, css or less.
    • Ron O.'s Avatar
    • Ron O.
    • Jr. Rocketeer
    • Posts: 20
    • Thanks: 1

    Re: issue with gantry or rockettheme k2 settings

    Posted 11 years 2 months ago
    • thanks for the help, I am really going crazy here....I did try to create a custom one rt_crulean-custom.css deleted all the width: 100% ! important stuff....and still it is not resizing the image and when I check ...the thridparty-k2.css is still being brought up I think that is why the images are still un-resized.....

      thanks for the help

Time to create page: 0.065 seconds