Separating Homepage 'Last Post' Fonts From 'Small Font'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vibhor
    Senior Member
    • Jun 2009
    • 200

    Separating Homepage 'Last Post' Fonts From 'Small Font'

    Hello,

    I’m looking to change the fonts of our forum. However, I wish to keep the homepage ‘Last Post’ text font properties separate from ‘small font’ properties. How?

    Thanks
  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24325
    • 5.7.X

    #2
    You could change the class from smallfont to a custom one in the 'forumhome_lastpostby' template then add your own CSS at:

    AdminCP > Styles & Template > Style Manager > [Main CSS] > Additional CSS Definitions
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

    Comment

    • Vibhor
      Senior Member
      • Jun 2009
      • 200

      #3
      Thanks, as usual, Trevor. I'm also looking to decrease the font size of complete 'Last edited by.....' statement. Is it located in a particular template or elsewhere?

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24325
        • 5.7.X

        #4
        Edit the postbit/postbit_legacy template depending on which you use and edit the following sction:

        Code:
                <!-- edit note -->
                    <div class="smallfont">
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]; background-color:$stylevar[tborder_bgcolor]" />
                        <em>
                            <if condition="$show['postedithistory']">
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]" 4="posthistory.php?$session[sessionurl]p=$post[postid]">$vbphrase[last_edited_link_by_x_on_y_at_z_postid]</phrase>
                            <else />
                                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>
                            </if>
                            <if condition="$post['edit_reason']">
                                $vbphrase[reason]: $post[edit_reason]
                            </if>
                        </em>
                    </div>
                <!-- / edit note -->
        Same as above, change 'smallfont' to your own class and if it's different to the one you've created above, add your own CSS definitions in there for it.
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...