News:

Wondering if this will always be free?  See why free is better.

Main Menu

Outline

Started by Bikken, November 21, 2007, 12:10:05 PM

Previous topic - Next topic

Antechinus

Quote from: Mr_Z on November 26, 2007, 11:02:40 PM
is there any way to increase the text size in posts (defualt size) its tiny :(

i tried a few things but nothing worked.

Any help greatly appreciated thanks :)
Mr Z, I just tried messing around and found out how to get the text in quotes up to a reasonable size.
I'm still looking for the way to do it for actual posts. Anyway, for quotes find this block in the style.css

/* A quote, perhaps from another post. */

.quote {
    color: #3a3a3a;
    background-color: #cecece;
    border-top: 4px solid #959595;
    border-bottom: 4px solid #959595;
    margin: 1px;
    padding: 1px;
    font-size: x-small;
    line-height: 1.4em;

Change font-size: x-small;   to   font-size: small;

Bikken

Quote from: kopchev on November 25, 2007, 07:08:11 PM
Can we use buttons instead of text links?

That's possible but you'll have to modify index.template file.

Look for:
/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;


change "true" to "false".

Then at the bottom of the file find:
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '">&nbsp;</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'first' : 'last' , '">&nbsp;</td>';
}


replace with:
// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;

if (empty($button_strip))
return '';

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . ($value['lang'] ? $context['user']['language'] . '/' : '') . $value['image'] . '" alt="' . $txt[$value['text']] . '" border="0" />' : $txt[$value['text']]) . '</a>';

$button_strip[$key] = $buttons[$key];
}

echo '
<td ', $custom_td, '>', implode($context['menu_separator'], $button_strip) , '</td>';
}

Mr_Z

#22
@antechinus - that worked for both code and quotes, now if we can only get the damn post text size to a readable level ;D

bikken how about the font sizes?


Bikken

Quote from: Tiramisu on November 26, 2007, 11:20:47 AM
Hi Bikken

Just a little note ... it doesn't notify admin on the frontpage that there are new member registrations waiting for approval. Anyway to add that?

I've got so many memberships pending for approval ... and I didn't even realized them until I went to the registration side in the admin panel.

Thanks!

Hi, yes it's possible to do that.

Open index.template file and find:
echo '
<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';


add right after:
// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '<br />';


You'll probably have to play with the height in #userarea in style.css.

Bikken

Quote from: Mr_Z on November 27, 2007, 07:15:19 AM
bikken how about the font sizes?

Open style.css and search for:
body, td, th, tr {
    line-height: 150%;
    font-family: tahoma, sans-serif;
    color: #555555;
    font-size: 11px;
}


Change 11px to whatever you like.

Mr_Z


Antechinus


Antechinus

Hang on. Just changed it from 11 to 14. Post text still looks the same size.

Dragooon

Try Hard Refreshing(Ctrl + F5)

Antechinus

Thanks. Worked a treat. I can now actually read Outline. Yay!

Antechinus

#30
For anyone else that's interested my opinion is that the best settings are 1050px 1020px for wrapper, small instead of x-small for code and quote text, and 13 point rather than the original 11 for general text. Anything larger than 13 looks clumsy and 13 is easy to read.
Thanks for your help, Bikken and Dragoon.

Mr_Z

i agree.

One last question. Which setting controls the username font size. looks too small now in comparision to the 13px of the normal text.

thanks

Bikken

Quote from: antechinus on November 27, 2007, 04:24:17 AM
Seconded. It may be elegant but its legibility is borderline, which should be a consideration for a message board.
I don't mean to be rude as it really is a lovely theme, but having been running a selection of themes on our test forum I have noticed that many themes seem to be designed purely for looks without regard to actual usability.
I would ask theme authors to pay more attention to combining stylish looks and/or a sense of fun with clear, legible text. Quoted text is often a particular problem as for some bizarre reason many themes have it in smaller text than the actual posts.
This criticism is not just aimed at Bikken and is intended to be constructive. Not everyone wants to or is able to recode themes to make them usable. Please consider.

Criticism accepted but assuming that i make themes with a bigger font-size, then what to say to those (like me) who wants it the way it is now?

Everyone has a different taste and needs. Some people want other colors, some prefer an other font/font-size, some want a smaller layout while others like it at 100%, etc.. It's not possible to make everyone happy. I will always make the themes the way i like them and would use them myself and believe me, i do pay attention to detail when it comes to layout and legible text. While making a theme, i check them on different pc's/browsers all the time just to find out how things (layout, content) looks best to me. I know that it may not look perfect for everyone else and that's why i try to give as much as possible support here and on my own site to help those people with these small edits. But most importantly, before asking the theme authors to pay more attention, try to enjoy their work and support you get for free.

Mr_Z

I forgot to say, thanks so much for this theme bikken. :)

I hope you make many more :D

Antechinus

Quote from: Bikken on November 27, 2007, 11:54:37 AM
Criticism accepted but assuming that i make themes with a bigger font-size, then what to say to those (like me) who wants it the way it is now?

Everyone has a different taste and needs. Some people want other colors, some prefer an other font/font-size, some want a smaller layout while others like it at 100%, etc.. It's not possible to make everyone happy. I will always make the themes the way i like them and would use them myself and believe me, i do pay attention to detail when it comes to layout and legible text. While making a theme, i check them on different pc's/browsers all the time just to find out how things (layout, content) looks best to me. I know that it may not look perfect for everyone else and that's why i try to give as much as possible support here and on my own site to help those people with these small edits. But most importantly, before asking the theme authors to pay more attention, try to enjoy their work and support you get for free.
Fair points. Believe it or not I do appreciate your work and support, which is why I went to the trouble of finding out how to make your theme usable for me (rather than just dismissing it as pretty but useless) and then made a point of thanking both yourself and Dragoon for helping me get there.
I don't know what monitors you use but all my online work is done on an Asus laptop with a 15" flat screen which may make a difference. Your monitor is probably considerably better and therefore the 11 point text is not a problem.

The last post I made before this one was not an attempt to have a go at you, merely a suggestion on settings for anyone like myself and Mr.Z.
Once again, thanks for the theme and your help and apologies for any unintended offense.

Bikken

Ah don't worry about it bro, i just gave you my opinion on your thoughts.  ;)

I guess screens can make a huge difference. I have a 17" and 19" screen with both resolutions set at 1280x1024 and tahoma 11px shows perfectly fine on those.

Bikken

Quote from: Mr_Z on November 27, 2007, 09:03:25 AMWhich setting controls the username font size. looks too small now in comparision to the 13px of the normal text.

Where do you mean exactly? The header, forum posts,..

Mr_Z

User name in forum posts. Sorry for not being more specific

Antechinus

#38
Quote from: Bikken on November 28, 2007, 09:09:50 AM
Ah don't worry about it bro, i just gave you my opinion on your thoughts.  ;)

I guess screens can make a huge difference. I have a 17" and 19" screen with both resolutions set at 1280x1024 and tahoma 11px shows perfectly fine on those.
So I probably should refrain from giving you my thoughts on your opinion of my thoughts. :D
Yep, I think the bigger monitors would make a difference. The Asus is good but it isn't intended for high grade design work.
I should probably experiment with screen resolutions a bit.

Anyway I've been getting questions from the members about new post icons. Is it possible to bold "New" (in the sub-forum pages) without altering any other text?
The other thing I'd like is to move the search box down into the same plane as the nav tree on the home page. I think it'd blend in better there but still be perfectly usable. Then the user area could be lowered to align with the index toolbar.
I like the simple layout and standard colours and I think these changes would go well with that.

Tiramisu

Bikken, I get the template parse error ... what could possibly be the issue?

Advertisement: