Member name in post size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PamelaE
    Senior Member
    • Feb 2005
    • 345

    Member name in post size

    Hi,

    In the posts the member name is quite big, where do I resize this. I have looked through the styles and cant see it.

    Thanks again
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu)

    Scroll to the very bottom. Change the font size:

    Code:
    /* ***** styling for 'big' usernames on postbit etc. ***** */
    .bigusername { font-size: 14pt; }

    Comment

    • PamelaE
      Senior Member
      • Feb 2005
      • 345

      #3
      Thank you, thats fab. Sorry just another thing, I have now made them small but how would I then bold it?

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Add the red code:

        Code:
        /* ***** styling for 'big' usernames on postbit etc. ***** */
        .bigusername { font-size: 14pt; [color=red]font-weight: bold;[/color] }

        Comment

        • TheMusicMan
          Senior Member
          • Oct 2002
          • 2140
          • 3.7.x

          #5
          Pam

          Please forgive me for jumping into this thread with a related question.

          Jake: Could one use a conditional to check for the length of the Username such as:

          <if> username length > 16

          then use small font to display it

          else use normal/default font to display it
          </if>

          I know that is not the syntax, but it illustrates what I am asking...?
          John

          Comment

          • Jake Bunce
            Senior Member
            • Dec 2000
            • 46598
            • 3.6.x

            #6
            That would require using the strlen() function, but that function doesn't work in conditionals.

            Comment

            • nishv
              Member
              • Jul 2006
              • 49
              • 3.6.x

              #7
              Any idea how to make the Admin username Bold + Red? And mod Username Bold + Green etc?
              Nish Vamadevan
              www.techforums.info - Online Technical Forums

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                Originally posted by nishv
                Any idea how to make the Admin username Bold + Red? And mod Username Bold + Green etc?
                Admin CP -> Usergroups -> Usergroup Manager -> Edit Usergroup -> Username HTML Markup

                In the first box use:

                Code:
                <span style="color: [color=red]#123456[/color]; font-weight: bold;">
                Change the color code appropriately.

                And in the second box use:

                Code:
                </span>
                The help topic ("?" image) has more markups you can use.

                Comment

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