Hi
Am experimenting with using the WordPress Helium theme so as to use latest versions of Gantry 5
In Clarity theme I am able to use variations like No Padding Top / No Padding Bottom etc
In Helium the variations are more limited
How do I copy variations from one theme to another?
First, be aware that we have not updated WP themes yet to make their SCSS compatible with the new SCSS compiler in G5.5.x - therefore what you will be copying will need modification to work with the new SCSS compiler. Next, variations in other themes often rely on scss variables that only exist in those themes, therefore at the least you are going to have to initialise some scss variables in your custom.scss and possibly have to go as far as altering the theme to add the extra styles fields (that generate the scss variables) by altering the YAML, and then also changing preset YAML files too and also probably write some of your own SCSS too.
That said, if you still want to do this you will fine the SCSS for the variations in /wp-content/themes/rt_clarity/scss/clarity/styles/_variations.scss and you will need to add the appropriate scss statements to your custom.scss file.
Regards, Mark.
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.
Helium is latest version compatible with G5.5.x but what you would be copying from is not compatible (yet) so would need to be modified to be compatible.
Regards, Mark.
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.