Text box not appear correctly

Permalink
Hi everyone,

I think i need some help here =)

I am having some trouble to get the "text box" working probably, while editing my theme.

I follow every step in the "Enabling Style Customization in your concrete5 Themes" video, but i still can´t put it working! All other variables work fine!

Here it's my code:

On the styles.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<styles version="1.0">
<set name="Main Style">
(...)
<style name="Main Text Font" variable="text" type="type" />
</set>
</styles>


In the presets/defaults.less:

@preset-name: 'Main Theme';
@preset-icon: concrete5-icon(#ffffff, #baca7a, #333333);
@preset-fonts-file: 'fonts/defaults.less';

// Template Main Font Type
@text-type-font-family: 'Source Sans pro';

in the fonts/defaults.less:

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic);

in the style.less:

@charset "utf-8";
@import "presets/defaults.less";
@import ~"@{preset-fonts-file}";

(...)

body, input, textarea, select{font-family: @text-type-font-family, sans-serif;}
h1, h2, h3, h4, h5, h6, .heading{font-family: @text-type-font-family, sans-serif;}


Thank you for your help =)

1 Attachment

PJGF589931
 
PJGF589931 replied on at Permalink Reply
PJGF589931
All working fine now!

It was waiting for me to post the problem here!! =D

Thank you anyway.