Announcement

Collapse
No announcement yet.

Social Media

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

  • Social Media

    I've noted that vB.com has icons/links for Facebook & Twitter displayed with the other widgets. How was this accomplished? I can't locate info in the manual or the forums. Thanks.

  • #2
    HTML and CSS

    Use a Static HTML Widget

    Code:
    <div>
    [COLOR=brown][COLOR=mediumblue]<div style="text-align: center">
    <[/COLOR]a[COLOR=red] href[COLOR=mediumblue]="https://www.socialmedialink.com/"[/COLOR][/COLOR][COLOR=mediumblue]>[/COLOR][/COLOR]
    [COLOR=brown][COLOR=mediumblue]<[/COLOR]img[COLOR=red] src[COLOR=mediumblue]="https://www.socialmediaicon.png"[/COLOR] alt[COLOR=mediumblue]="Social Media Title"[/COLOR] style[COLOR=mediumblue]="width:30px;height:30px;"[/COLOR][/COLOR][COLOR=mediumblue]>[/COLOR][/COLOR]
    [COLOR=brown][COLOR=mediumblue]<[/COLOR]/a[COLOR=mediumblue]>
    <[/COLOR]a[COLOR=red] href[COLOR=mediumblue]="https://www.socialmedialink2.com/"[/COLOR][/COLOR][COLOR=mediumblue]>[/COLOR][/COLOR]
    [COLOR=brown][COLOR=mediumblue]<[/COLOR]img[COLOR=red] src[COLOR=mediumblue]="https://www.socialmediaicon2.png"[/COLOR] alt[COLOR=mediumblue]="Social Media Title2"[/COLOR] style[COLOR=mediumblue]="width:30px;height:30px;"[/COLOR][/COLOR][COLOR=mediumblue]>[/COLOR][/COLOR]
    [COLOR=brown][COLOR=mediumblue]<[/COLOR]/a[COLOR=mediumblue]>[/COLOR][/COLOR]
    </div>

    Comment


    • #3
      Thank you IO, still learning vB 5.

      Haven't seen a members Who Have Visited widget by any chance?
      Last edited by Rakehel; Thu 18 Jun '20, 8:23am.

      Comment


      • #4
        The exact code of the module that I used is:

        Code:
        <div style="text-align:center">
            <a href="http://www.facebook.com/vbulletin" alt="Visit us on Facebook"><span class="b-icon b-icon__facebook-24">&nbsp;</span></a>
            <a href="http://www.twitter.com/vbulletin" alt="Visit us on Twitter"><span class="b-icon b-icon__twitter-24">&nbsp;</span></a>
        </div>
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          Originally posted by Rakehel View Post
          Haven't seen a members Who Have Visited widget by any chance?
          Am not aware of one at the moment.

          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

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