Hello, I have little experience with making websites. I've downloaded phpwcms last week and I've created a nice looking layout by now. (in my opinion anyway)
Now I have 2 questions about the CSS file. First, when I change the font and size of: td, tr, th, p
Then the font and size of some text I used in the footer changes. That seems ok to me. However, the font of the article summary also changes, but not the size. Why is this?
Second question, When I change the size of the article_summary (in the CSS file), then it seems that not the size changes, but it seems that something like line distance or so is changing.
I really don't understand how this file works. I hope someone wants to explain it to me.
Thanks in advance,
Manolo
CSS problem
hi manolo,
you have to view the page source in your editor. copy a word at the beginnig of the text you want to formate and drag it in the editors search function, search after it in the page-source and read out which class is formating it, our if there's no class declared.
regards
you have to view the page source in your editor. copy a word at the beginnig of the text you want to formate and drag it in the editors search function, search after it in the page-source and read out which class is formating it, our if there's no class declared.
regards
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
Ok, I did what you said:
<div class="articleText"><span lang="NL" style="FONT-SIZE: 11pt; FONT-FAMILY: ">De stichting is
I can see here that the class would be articleText, but after that it seems to me that the fontsize is redeclared. I can't find how to change this. It seems to be generated by the WYSIWYG editor, because when I look in the phpwcms system in the content summary, you can see the same declaration of font size.
<div class="articleText"><span lang="NL" style="FONT-SIZE: 11pt; FONT-FAMILY: ">De stichting is
I can see here that the class would be articleText, but after that it seems to me that the fontsize is redeclared. I can't find how to change this. It seems to be generated by the WYSIWYG editor, because when I look in the phpwcms system in the content summary, you can see the same declaration of font size.
You are right that the font size is declared in your example by the rich text editor. You can turn styles off in spaw (the rich text editor) but I don't really know what that will do. If you know you want to edit the text using the style sheet then just do the article in plain text and use the css to format it. You can then add your own classes/ids as well. I hope this answers your question.
By the way, you might want to look at the inheritance properities of css. That might help you out as well with finding a nice balance between using the css file and rich text editor.
By the way, you might want to look at the inheritance properities of css. That might help you out as well with finding a nice balance between using the css file and rich text editor.