Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-04 07:55:49

achovek
New Member
Registered: 2005-11-02
Posts: 5

change font in articles and put header image?

hello
i am new to all that so don’t judge me hard
i want to know from where i can change the font in the articles cause i couldn’t find it
and my other question is how to put a image in the head where is the name of the site.Now I have put it for background in #head but i had to go and remove Site Title so it wont display over it which makes a problem cause it removes the title at all
i hope you did undestand me.thanks for the help

Offline

#2 2005-11-04 08:25:02

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: change font in articles and put header image?

You can change the font in the presentation > css section. I don’t know if you now some css, but otherwise there are a lot of tutorials on the internet.

For the other problem, a lot of browsers don’t show a div with a background image if there’s no text in it. You can solve this to specify a height: …px to the #head, wich has to be the same as the height of the image.

Hope it helps.


Regards,

Joey

Offline

#3 2005-11-04 09:33:11

achovek
New Member
Registered: 2005-11-02
Posts: 5

Re: change font in articles and put header image?

where in the css editor is the font for articles. htere is no #article and i dont know which of the others that contain fonts is it.i am not good with css but i manage to edit things
about the head image.i did put an image in the background setting the pixels but i have to remove the name of my site from title because it shows over it again.it doesnt matter for me to remove it but then the page has no title in the browser…

Offline

#4 2005-11-04 10:19:57

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: change font in articles and put header image?

Aha about the title…why not use this code: <code><h1><a>Link to homepage</a></h1></code> and then as CSS <code>h1 {text-indent: -9999px; height: …px; width: …px; background: ..;}</code>

You can see wich selector txp uses for the article in the page-templates or the forms. For example, check out the form “default” or “lofi” and the check what the selector is.


Regards,

Joey

Offline

#5 2005-11-05 00:24:36

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: change font in articles and put header image?

where in the css editor is the font for articles. htere is no #article and i dont know which of the others that contain fonts is it.

Have a look at the HTML source of your page. #content is the main column.

You can change the HTML code used to display each article by editing the appropriate form.


Alex

Offline

Board footer

Powered by FluxBB