0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry Theme Style Presets

    • emperor's Avatar
    • emperor
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 1
    • Senior Web Developer & Strategy Analyst

    SOLVED Gantry Theme Style Presets

    Posted 2 years 11 months ago
    • Hello, I have created some theme style presets for rt_clarity template. Everything works fine. I added the colors I wanted.

      What I cannot manage to do is add an option to add a background image.

      In the YAML file, the "Feature" section has such option.


          feature:
            background: '#ffffff'
            background-image: 'gantry-media://backgrounds/feature/bg-01.jpg'
            text-color: '#000000'

      When I add the "Background-image: ... .jpg" to let's say "Slideshow" section, the option is not showing on the backend.

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


      I was not able to find the correct documentation article to read more. Is there an easy way to achieve what I want?

      Thanks in advance
    • Being awesome in designing is easy.
      Bring results is the hard part.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Gantry Theme Style Presets

    Posted 2 years 11 months ago
    • From your screenshot you have an override present on that field and changing preset won't remove that.

      If you need more help, Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you. Also, Please post your FTP logon, password and FTP URL in the secure area of your post.


      Regards, Mark.
    • The following users have thanked you: emperor

    • 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.
    • emperor's Avatar
    • emperor
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 1
    • Senior Web Developer & Strategy Analyst

    Re: SOLVED Gantry Theme Style Presets

    Posted 2 years 11 months ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • Being awesome in designing is easy.
      Bring results is the hard part.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Gantry Theme Style Presets

    Posted 2 years 11 months ago
    • Ok, so "feature" change of background image is working perfectly as it should. The presets.yaml just default values for fields that exist. The the case of the other sections that you mentioned they do not have such a field defined for those sections at all. Even if they did then you would still then have to write the section scss files to use the value too. In other words, you have not made all the changes necessary to make this work.

      http://docs.gantry.org/gantry5/advanced/creating-style-presets

      You need to override the blueprints (/templates/rt_clarity/blueprint/styles for the sections and also the scss files for the sections {/templates/rt_clarity/scss/sections/)

      Regards, Mark.
    • Last Edit: 2 years 11 months ago by MrT.
    • The following users have thanked you: emperor

    • 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.
    • emperor's Avatar
    • emperor
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 1
    • Senior Web Developer & Strategy Analyst

    Re: SOLVED Gantry Theme Style Presets

    Posted 2 years 11 months ago
    • Ok I understand now.

      Thank you very much for your quick and to-the-point support.
    • Being awesome in designing is easy.
      Bring results is the hard part.

Time to create page: 0.060 seconds