Problems with the type="type" in styles.xml
Permalink
Hello everyone.
I have a similar problem like some others with the styles.xml. I am working with the 5.7.4.2 version.
I`ve done everything with the styles.xml as seen in the c5-video. Everything works fine with 'Primary Action Color' and the 'Primary Spacing'. But If I try to make a type-option, the option-window for the font-size, color, etc. is always empty. There is only a SAVE Button.
Same problem if I copy these parts 1:1 from the Elemental-template (which works fine).
Actually I am working with these settings:
I have a similar problem like some others with the styles.xml. I am working with the 5.7.4.2 version.
I`ve done everything with the styles.xml as seen in the c5-video. Everything works fine with 'Primary Action Color' and the 'Primary Spacing'. But If I try to make a type-option, the option-window for the font-size, color, etc. is always empty. There is only a SAVE Button.
Same problem if I copy these parts 1:1 from the Elemental-template (which works fine).
Actually I am working with these settings:
styles.xml <?xml version="1.0"?> <styles version="1.0"> <set name="Full Page"> <style name="Primary Action Color" variable="primary-action" type="color" /> <style name="Primary Spacing" variable="primary-spacing" type="size" /> <style name="Text" variable="body" type="type" /> </set> </styles> defaults.less @primary-action-color: #ff7600; @primary-spacing-size: 100px; // Typography @body-type-font-family: ~"'Helvetica Neue', Helvetica, Arial, sans-serif"; @body-type-color: #6e6e6e;
Viewing 15 lines of 17 lines. View entire code block.
type styles sometimes need a little help. What happens if you scroll to the bottom of the customiser bar and click the 'Reset Customizations' button?