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!

3 Attachments

 
JohntheFish replied on at Permalink Reply
JohntheFish
For the background, you may find this thread of use:
http://www.concrete5.org/community/forums/usage/changing-background...
DigitalDesign replied on at Permalink Reply
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?
enlil replied on at Permalink Reply
enlil
Look for this line in typography.css:

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!!
jackbasting replied on at Permalink Reply
jackbasting
Try to refresh your cache.
Shift F5.
DigitalDesign replied on at Permalink Reply
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... :)
Steevb replied on at Permalink Reply
Steevb
All custom colours need six digits.
#ffffff, #000000
enlil replied on at Permalink Reply
enlil
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!!
Steevb replied on at Permalink Reply
Steevb
In typography.css:
Body background is wrong, one too many digits.
background-color: #2507070;


Line height is wrong on line 89.
line-heigth: 2;
DigitalDesign replied on at Permalink Reply
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?
Steevb replied on at Permalink Reply
Steevb
You spelt 'height' wrong.
DigitalDesign replied on at Permalink Reply
My bad. :D
DigitalDesign replied on at Permalink Best Answer Reply
Thanks to everyone for help. The problem with paragraph text not looking right no matter the css was fixed by reinstalling concrete5.