How to change default hyperlink color?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sticky
    Senior Member
    • Aug 2003
    • 411

    [Forum] How to change default hyperlink color?

    Currently my hyperlinks are the same color as text so they blend in.

    How do I make them blue to stand out like traditional links?
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Did you try the stylevar link_color ?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Charlie_Brown
      Senior Member
      • Dec 2006
      • 1275
      • 4.1.x

      #3
      In posts?

      Comment

      • sticky
        Senior Member
        • Aug 2003
        • 411

        #4
        Originally posted by Charlie_Brown
        In posts?
        Yes, just in posts, not throughout the entire forum like the stylevar link_color.

        Thanks, I should have been more specific.

        Comment

        • Charlie_Brown
          Senior Member
          • Dec 2006
          • 1275
          • 4.1.x

          #5
          Originally posted by sticky
          Yes, just in posts, not throughout the entire forum like the stylevar link_color.

          Thanks, I should have been more specific.
          Go into styles>>>>>>CSS>>>>>>>>vbulletin.css and add this to the very bottom. Change color as you wish.

          Code:
          .postcontent a {
                  color: #3333CC;
          	}

          Comment

          • sticky
            Senior Member
            • Aug 2003
            • 411

            #6
            Originally posted by Charlie_Brown
            Go into styles>>>>>>CSS>>>>>>>>vbulletin.css and add this to the very bottom. Change color as you wish.

            Code:
            .postcontent a {
                    color: #3333CC;
            	}
            Thank you so much! Been looking for this for so long.

            Is there any way to get the exact same thing on CMS article pages?

            Comment

            • Charlie_Brown
              Senior Member
              • Dec 2006
              • 1275
              • 4.1.x

              #7
              I am not sure at the moment I am wanting to do the same. I think the use of firebug may be able to accomplish this though. Lynne may help?

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                I have this written in my CSS cheatsheet:

                Code:
                /* change link color in article and preview */
                .vbcms_content .postcontainer a {color:green;}

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools <- awesome site for html/css help

                Comment

                • Charlie_Brown
                  Senior Member
                  • Dec 2006
                  • 1275
                  • 4.1.x

                  #9
                  Thanks Lynne. I wanted this as well.

                  Comment

                  • sticky
                    Senior Member
                    • Aug 2003
                    • 411

                    #10
                    Originally posted by Lynne
                    I have this written in my CSS cheatsheet:

                    Code:
                    /* change link color in article and preview */
                    .vbcms_content .postcontainer a {color:green;}
                    I understand that this is the code to accomplish the same on the CMS content however what CSS sheet do I put this in?

                    Comment

                    • Charlie_Brown
                      Senior Member
                      • Dec 2006
                      • 1275
                      • 4.1.x

                      #11
                      Originally posted by sticky
                      I understand that this is the code to accomplish the same on the CMS content however what CSS sheet do I put this in?
                      The additional.css one Most CSS goes there unless specified to go somewhere else.

                      Comment

                      • sticky
                        Senior Member
                        • Aug 2003
                        • 411

                        #12
                        Originally posted by Charlie_Brown
                        The additional.css one Most CSS goes there unless specified to go somewhere else.
                        Thank you

                        Comment

                        • sticky
                          Senior Member
                          • Aug 2003
                          • 411

                          #13
                          Originally posted by Lynne
                          I have this written in my CSS cheatsheet:

                          Code:
                          /* change link color in article and preview */
                          .vbcms_content .postcontainer a {color:green;}
                          Not sure if I made a mistake, but I added this to the additional.css but the link color is not changing.

                          Edit: Actually, it was where it was placed in additional.css that was the problem, moved it to the top, now it works Thank you Lynne, is there any was to extend this to the area at the bottom of CMS articles where it says "view original post" ?

                          Comment

                          Related Topics

                          Collapse

                          Working...