Announcement

Collapse
No announcement yet.

Editing link font-weight

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

  • [Solved] Editing link font-weight

    I use to be able to throw
    .post a:link, .post a:active, .post a:visited {font-weight: bold; }
    .post a:hover {font-weight: bold; }
    into the "Additional CSS Definitions" and it would make all links in posts bold. But after upgrading from 3.6 to 3.7, it doesn't seem to work. What do I need to do to change this?

  • #2
    bump.

    Comment


    • #3
      Nobody knows? Was the Post class renamed or something?

      Comment


      • #4
        hiiii

        Comment


        • #5
          up up
          up up up

          Comment


          • #6
            Try using the classes .alt1 and .alt2, as I just searched for 'class=post' in the source of this page, which should be up-to-date, and found that the left/right (legacy) or top/bottom (current) post styles are labeled as such.

            Hope that helps.
            "You forgot about my trap card!"
            "Oh no!!"
            "Oh yes, and wait till you hear about it's special ability!"

            Comment


            • #7
              Please wait at least 24 hours before bumping your posts.

              From the forum rules:
              http://www.vbulletin.com/forum/showthread.php?t=42918

              Please wait a reasonable amount of time before bumping posts. For style changes and general 'how-to' questions this should be 24 hours. For specific troubleshooting issues, use 12 hours as a guideline.
              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
              Change CKEditor Colors to Match Style (for 4.1.4 and above)

              Steve Machol Photography


              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


              Comment


              • #8
                Originally posted by Steve Machol View Post
                Please wait at least 24 hours before bumping your posts.

                From the forum rules:
                http://www.vbulletin.com/forum/showthread.php?t=42918
                Sorry about that.

                Originally posted by Ketro View Post
                Try using the classes .alt1 and .alt2, as I just searched for 'class=post' in the source of this page, which should be up-to-date, and found that the left/right (legacy) or top/bottom (current) post styles are labeled as such.

                Hope that helps.
                Thanks. Alt2 bolded everything under the user info, and Alt1 changed the main text area, but it also effect some stuff on the index, such as usernames in the shoutbox. Can i get more specific on bolding post-only areas?

                Comment


                • #9
                  buump

                  Comment


                  • #10
                    You'll need to edit the postbit/postbit_legacy templates and make edits to it to accomidate the changes you want.


                    edit the div and add a specific new class that you want to effect the div that surrounds the $post[message] varible.

                    Comment


                    • #11
                      So in postbit and postbit_legacy I changed

                      Code:
                      <div id="post_message_$post[postid]">$post[message]</div>
                      to

                      Code:
                      <div class="post" id="post_message_$post[postid]">$post[message]</div>
                      and added

                      Code:
                      post a:link, .post a:active, .post a:visited,  .post a:hover {font-weight: bold; }
                      into the "Additional CSS Definitions" and that seemed to work.

                      Thanks a lot for the help.

                      Which template do I need to change if I want to apply it to the preview posts?
                      Last edited by everybest; Sun 6 Jul '08, 11:22pm.

                      Comment


                      • #12
                        bump

                        Comment


                        • #13
                          try the newreply template.

                          Comment


                          • #14
                            Originally posted by Zachery View Post
                            try the newreply template.
                            Thank you! Fixed

                            I dunno how to change the thread to solved

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X