4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: haider512 on March 13, 2011, 05:46:04 PM

Title: How can i change font size??
Post by: haider512 on March 13, 2011, 05:46:04 PM
Hello..

I want to change the font of the categories on index page, but cant find anything related to it in the templates folder?
can any one point me to the file which need to be edited in order so that it changes the fonts of categories names..

Title: Re: How can i change font size??
Post by: Rembrandt on March 13, 2011, 07:25:14 PM
in your style.css: class maincat

mfg Andi
Title: Re: How can i change font size??
Post by: haider512 on March 13, 2011, 07:45:29 PM
in your style.css: class maincat

mfg Andi

Thanks for reply.. but there is no class defined in style.css as "maincat" ???


what to do?
Title: Re: How can i change font size??
Post by: Rembrandt on March 13, 2011, 07:56:20 PM
post your category_bit.html here
Title: Re: How can i change font size??
Post by: haider512 on March 13, 2011, 08:01:29 PM
i attached the category_bit.html..

Please see the attached file.

==================================

okay i edited the file and replaced class="maincat" with (style=" font-size: 10px; " )
and it is working.. dont know why it didnt worked when i defined a new class with same name? maincat??

anyhow it is working now.. Many THanks for redirecting me to right direction.
Title: Re: How can i change font size??
Post by: Rembrandt on March 13, 2011, 08:16:58 PM
in your category_bit have you the class:
Code: [Select]
class="maincat">{
copy this in your style.css:
Code: [Select]
.maincat {
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  font-weight: bold;
}