Text styles not working?
Permalink
Hi folk!
I'm having hard time getting around editing the default Greek Yogurt theme. First of all the body background color sometimes displays correctly and sometimes not and I haven't been able to find a pattern here. More severe problem that I have has to do with headers and font definitions. I have defined six different header styles and text style for paragraph. However in the text editor I can only see three header styles in the list and paragraph text look completely off from what I have defined. More precicely it is red, has a line-height of 7px and is using a different font. The problem in my mind is that typography.css is not red by concrete5 correctly but to be honest I'm really lost with this. I am not very experienced with concrete5 neather css. i have attached all the relevant CSS files. Thanks in advance!
I'm having hard time getting around editing the default Greek Yogurt theme. First of all the body background color sometimes displays correctly and sometimes not and I haven't been able to find a pattern here. More severe problem that I have has to do with headers and font definitions. I have defined six different header styles and text style for paragraph. However in the text editor I can only see three header styles in the list and paragraph text look completely off from what I have defined. More precicely it is red, has a line-height of 7px and is using a different font. The problem in my mind is that typography.css is not red by concrete5 correctly but to be honest I'm really lost with this. I am not very experienced with concrete5 neather css. i have attached all the relevant CSS files. Thanks in advance!
Sorry but this didn't help as background color is set correctly. The problem is that sometimes background color loads as white, not as set in css, even if no changes to css have been made. Clearing C5 and browser cache doesn't change a thing. Could this possibly indicate a problem with concrete5 installation or is this a bug in the core?
Look for this line in typography.css:
you can change the color here. If you leave the two
"/* customize_main_background*/"
parts, the color will still be customizable from what you set it here in dashboard > themes > customize dialogue. If you remove them, it will NOT be customizable within the dashboard.
Hope this helps!!
div#main-container { /* customize_main-background */ background-color: #fff; /* customize_main-background */ }
you can change the color here. If you leave the two
"/* customize_main_background*/"
parts, the color will still be customizable from what you set it here in dashboard > themes > customize dialogue. If you remove them, it will NOT be customizable within the dashboard.
Hope this helps!!
Try to refresh your cache.
Shift F5.
Shift F5.
Hi everyone and thanks for help this far. Just to be clear, there is no problem with defining the body background in css. It displays correctly, most of the time. But sometimes the background is white even if you don't change a thing anywhere on the site/files.
Now if someone would have an idea of what's going on with font styles... :)
Now if someone would have an idea of what's going on with font styles... :)
All custom colours need six digits.
#ffffff, #000000
The css I posted above was pulled directly from Greek Yogurt typography.css
Typically, I change it to six right away, but it seems to work fine otherwise!!
Typically, I change it to six right away, but it seems to work fine otherwise!!
In typography.css:
Body background is wrong, one too many digits.
Line height is wrong on line 89.
Body background is wrong, one too many digits.
background-color: #2507070;
Line height is wrong on line 89.
line-heigth: 2;
Thanks so far! Indeed the color value for background was wrong though I don't understand why line-height of 2 was off. Line-height by css reference can be a number, decimal, percent or pixel value, right?
You spelt 'height' wrong.
My bad. :D
Thanks to everyone for help. The problem with paragraph text not looking right no matter the css was fixed by reinstalling concrete5.
http://www.concrete5.org/community/forums/usage/changing-background...