Font size of (xx Views)

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
dicks
Posts: 39
Joined: Mon Oct 09, 2006 2:48 pm

Font size of (xx Views)

Post by dicks »

I'd like to change the font size of "(xx Views)" which is displayed under each FAQ from current 10px to 8px. In what CSS do I do that?

Thanks

DickS
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

currently there's no CSS class for that. Please open template/main.tpl and edit the following code

Code: Select all

<p align="center">{writeNumberOfArticles}</p>
to

Code: Select all

<p align="center" class="numberOfEntries">{writeNumberOfArticles}</p>
Then add this in template/style.css:

Code: Select all

.numberOfEntries { font-size: 8px; }
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dicks
Posts: 39
Joined: Mon Oct 09, 2006 2:48 pm

Post by dicks »

Hi,

I had already commented this out te views line I mean is under each article in category view, etc.

Thx

DickS
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you need the following entry in the template/style.css:

Code: Select all

.little { font-size: 8px; }
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dicks
Posts: 39
Joined: Mon Oct 09, 2006 2:48 pm

Post by dicks »

Excellent, that did the trick :)
Post Reply