[SMF2RC2.0] Just to change the text (as in textmessage)

Started by 7s-1k, November 15, 2009, 04:26:56 PM

Previous topic - Next topic

7s-1k

Hello all,

I was wondering in which file I could change only the textmessage.. nothing else..



I was thinking and searching in index.css but I couldn't find anything..

Hopefully someone could help me

Regards
One Day, Two Many

tyty1234

Are you saying you want to alter the way text appears in a post style-wise?
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

7s-1k

Sorry, i wasn't clear enough. I want to edit the font-size :)

I only want to textmessage to have a bigger size.
One Day, Two Many

tyty1234

All you have to do then is open up index.css from your css folder, and make this change.

Code (Find) Select

.inner
{
padding: 1em 1em 0 0;
margin: 0 1em 0 0;
border-top: solid 1px #99a;
}


Code (Replace With) Select

.inner
{
font-size: 16pt;
padding: 1em 1em 0 0;
margin: 0 1em 0 0;
border-top: solid 1px #99a;
}


Of course you can change the font size to any size you want.
My Activity: Inactive
My Links: tyty1234's SMF Site | SMF Package Parser | SMF Helper | My Mods [5]
Subscribe to my SMF blog for updates
PMs for support will not be accepted, unless requested otherwise.

7s-1k

Thanks, but what font size I use, I don't see any result on the textmessage... I've changed it from font-size: 16pt; till font-size: 50pt; ..

I've added the index.css maybe you can see a second problem or such a thing..

One Day, Two Many

Arantor

I'm not clear - which text do you want to alter?

Also, did you upload the changed file to your forum, and then press Ctrl-F5 to refresh your browser?

7s-1k

The text you just wrote... This text  ;)

Yes, I did. But no results..
One Day, Two Many

Arantor

So, just the text in posts?

You've modified the right part but for some reason it isn't kicking in.

Can I have a link to your forum please?

7s-1k

Quote from: Arantor on November 15, 2009, 05:53:39 PM
So, just the text in posts?

You've modified the right part but for some reason it isn't kicking in.

Can I have a link to your forum please?

Here ya go; http://forum.7s-1k.nl/index.php  :)
One Day, Two Many

Arantor

http://forum.7s-1k.nl/Themes/default/css/index.css does not show the modified .inner class.

.inner
{
padding: 1em 1em 0 0;
margin: 0 1em 0 0;
border-top: solid 1px #99a;
}

7s-1k


now it is  :)

By the way it's kind of weird that the maintext in [ table] is on normal size but the maintext without [ table ] is on a small size.. ???

Only the text in [ table] is changing, the text without the bb-tags isn't
One Day, Two Many

Arantor


7s-1k

Aah wait I see. Standard I am using Firefox:


When i check with IE:



So it's seems to be that the issue has to be find in the Browser?
One Day, Two Many

Arantor

Did you clear the cache and hard-refresh the page (Ctrl-F5) after editing the css file when viewing in Firefox?

7s-1k

One Day, Two Many

Arantor

For some reason there's a <font size="1"> tag in front of it.

So what bbcode is in that post?

7s-1k

In front of which file?

I recently have edited the 'personal text' in Display.template.php

// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<center><b><font size="1"><font color="#21458F"><li class="blurb">', $message['member']['blurb'], '</li></color></font></b></center>';
One Day, Two Many

Arantor

I saw that <font size="1"> directly in front of the text in the thread's body.

Interesting, though, that code is invalid HTML anyway, you have two <font> tags, and a </color> and </font>

If you're determined to use <font>:
// Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<center><b><font size="1" color="#21458F"><li class="blurb">', $message['member']['blurb'], '</li></font></b></center>';


Though you could just modify li.blurb in the CSS to specify the colour and size.

7s-1k

Yeah, stupid me!

Ah, I didn't knew I could change the li.blurb in index.css files..

Thanks alot Arantor!
One Day, Two Many

Advertisement: