Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: antler on June 28, 2013, 04:12:52 PM

Title: Forum Title
Post by: antler on June 28, 2013, 04:12:52 PM
Is there a way to increase the Font size of the "Forum Title" in code somewhere? I know you can't do it in admin "server settings" but suspect there is a way.
Title: Re: Forum Title
Post by: kat on June 28, 2013, 04:47:35 PM
Don't quote me, on this, coz I could be very, very wrong and I haven't tested it... ;) So, keep a copy of the file, as a backup, OK?

In the theme's index/template.php, find this:

<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
   <div id="header"><div class="frame">
      <div id="top_section">
         <h1 class="forumtitle">
            <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
         </h1>';

And change the"h1" bits, in red, to "h2", "h3", or whatever floats your boat.  :)

(I avoided using code tags, so that the red bits show up, so the formatting won't be right).
Title: Re: Forum Title
Post by: TheDragon on June 28, 2013, 05:52:06 PM
try index.css (about line 1375)

h1.forumtitle {
line-height: 45px; <=============== edit this ##
font-size: 1.8em;
font-family: Geneva, verdana, sans-serif;
margin: 0 0 0 40%;
padding: 0;
float: left;


I use an image - not text - and I made my image be 50px tall to fit in the space
not sure if you make title tooooooooooo tall
it might overflow the color scheme


ps
another thought
forum title and other 'frills' consume user experience space
ergo - not make title to big IMHO

Title: Re: Forum Title
Post by: antler on June 28, 2013, 06:44:53 PM
K@  I can find     <div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
                         <div id="header"><div class="frame">
but none of the rest of the code. I am using Actualism 204


Dragon   same story, the code doesn't exist in index.css

Thanks for trying though
Title: Re: Forum Title
Post by: TheDragon on June 28, 2013, 07:10:31 PM
what is your URL