Custom Theme: @body-type customization not showing in theme customization sidebar
Permalink
Hello everyone,
I'm following along with the full screencast here
http://www.concrete5.org/documentation/developers/5.7/designing-for...
and I'm at about 20 minutes. I've added everything the tutorial tells me to add for the @body-type attributes in order to make them appear in the Attributes (cogwheel) > Design > Themes > Customize sidebar, but when I click on the square button with the 'T', none of the body settings are showing. Here's what my code looks like:
defaults.less
templatemo-style.less
styles.xml
Anybody know why this isn't working? It's driving me nuts! Any advice would be greatly appreciated.
I'm following along with the full screencast here
http://www.concrete5.org/documentation/developers/5.7/designing-for...
and I'm at about 20 minutes. I've added everything the tutorial tells me to add for the @body-type attributes in order to make them appear in the Attributes (cogwheel) > Design > Themes > Customize sidebar, but when I click on the square button with the 'T', none of the body settings are showing. Here's what my code looks like:
defaults.less
// Body type @body-type-font-family: 'Open Sans'; @body-type-font-size: 14px; @body-type-font-style: normal; @body-type-color: #555555; @body-type-line-height: 24px;
templatemo-style.less
body { background: #FFFFFF; color: @body-type-color; font-family: @body-type-font-family; line-height: @body-type-line-height; font-style: @body-type-font-style; position: relative; }
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" /> </set> <set name="Body"> <style name="Body" variable="body" type="type" /> </set> <set name="Newsletter"> <style name="Background Color" variable="newsletter-background" type="color" /> <style name="Background Image" variable="newsletter-background" type="image" /> </set> <set name="Contact"> <style name="Background Color" variable="contact-background" type="color" />
Viewing 15 lines of 18 lines. View entire code block.
Anybody know why this isn't working? It's driving me nuts! Any advice would be greatly appreciated.
Forgot to add this... screenshot of what my sidebar looks like. Everything is missing, unlike the tutorial shows at the above link.
hi - I've had this happen a bunch of times - it seems a little buggy with text styles.
I've been able to cure it either by clicking the reset custom styles and resetting or by deactivating and then reactivating the theme (unless the issue is actually a typo or something like that)
I've been able to cure it either by clicking the reset custom styles and resetting or by deactivating and then reactivating the theme (unless the issue is actually a typo or something like that)
Andy, you're THE MAN. I never thought to reset the customizations. I did that and it's now working like a charm. Thank you!!!
no worries. I banged my head against a wall for ages - you automatically think you're doing something wrong...