TinyPortal

Development => Support => Topic started by: Destron on August 24, 2008, 08:18:37 PM

Title: Question about styles
Post by: Destron on August 24, 2008, 08:18:37 PM
Hi, I am working on a custom theme for my TP/SMF site, but I can not seem to find where the style info is for the front page blocks, the word in them are way to large. When I use firebug I get

<div id="block5" class="windowbg tp_frontblock_body" style="padding: 4px;">

But I can not find that div OR class in any of the files, am I missing something? I did not create/add them.

If you could just point me down the right path it would be appreciated  :uglystupid2:

Edit:
To clarify, this is what I am doing, I took the Stats bar on the side, and moved it to a front page block, then modified TPBlocks,template.php to get the layout I wanted so it looks like this:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.destronmedia.com%2Fstat.gif&hash=b09cdc77c3d7f6c80e83f7e31ccae2d73217a161)

But the words are larger than I want, that is what I need help with
Title: Re: Question about styles
Post by: IchBin on August 24, 2008, 08:38:23 PM
windowbg most likely comes from style.css file. And tp_frontblock_body most likely comes from tpstyle.css in the default theme if you don't put one in your custom theme.
Title: Re: Question about styles
Post by: G6Cad on August 24, 2008, 08:39:44 PM
To see diffrent elements on a site to guide you where to look for the sites content in the code, try the Firebug extension for Firefox, it is really a great tool when you develop sites and want to change code with the site visible :)
Title: Re: Question about styles
Post by: Destron on August 24, 2008, 10:02:11 PM
Thanks guys, I do use firebug, but I forgot that if an entry does not exits in css or template files it pulls from the default, that is where I was getting messed up at.