TinyPortal
Development => Support => Topic started by: sanax on December 22, 2006, 10:39:24 PM
I want to resize text in certain blocks. If I make changes to my style.css it changes most of the text through out the site...
Can someone help with the php code and where can I add this code?
Which blocks?
I want to resize the font in the front page blocks (summaries of the articles and forum posts)
The reason I asked is that there are two possibilities. With the "freeform" blocks like php, html+bbc or scriptblocks, you can set the font in the block itself. With the premade blocks, there's a little more to it. You have a choice, really. You can alter the TPortalBlocks.template.php file to change the size of the fonts, or you can copy the code for those blocks into a php block and set the font size within the code.
I'll take a closer look at the code in the meantime to see what needs to be changed or copied.
Thanks JP
Which do you want? Do you want to alter the files or do you want to copy the code into blocks? Your decision will tell me which way to go. Personally, I think it's better to copy the code into php blocks and leave the TP files alone, but you may prefer to go the other way.
Settings > Frontpage > I'm using layout B > What to show on front page: 'Both forum and articles - sorted on date is checked
I won't be able to place the code in blocks because I don't use html or php blocks. The software creates 'summary' blocks on the front page...
Seems to me I'll have to add code to the php files.
Can I get a link to your front page so I can see exactly what you're doing?