TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 565
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 203
  • Total: 203

Question about styles

Started by Destron, August 24, 2008, 08:18:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Destron

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:



But the words are larger than I want, that is what I need help with

IchBin

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.

G6Cad

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 :)

Destron

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.