Announcement

Collapse
No announcement yet.

Member name in post size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


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

      Comment


      • #4
        Add the red code:

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

        Comment


        • #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


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

            Comment


            • #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


              • #8
                Originally posted by nishv View Post
                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: #123456; 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...
                X