How to change the size of fb & tweeter buttons?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dmitrij
    Member
    • May 2017
    • 56
    • 5.7.0

    How to change the size of fb & tweeter buttons?

    How to change the size of facebook ("share") and tweeter ("tweet") button of vb-forum?
    Need this because of different length of theese words in another language
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74078

    #2
    These buttons should better adapt to different font sizes and languages in 5.5.1. However, you can override the CSS in your css_additional.css menu. The default CSS generated is:

    Code:
    .b-sharing-menu__item-link {
        display: block;
        box-sizing: border-box;
        width: 60px;
        height: 2rem;
        margin: auto;
        border-radius: 3px;
        font-size: 1.1rem;
        line-height: 2.1rem;
        background: none 0 0,#FFFFFF;
        color: #00a3de;
    }
    Just make your modifications and put the resulting code in the css_additional.css template for your style(s).
    Translations provided by Google.

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

    Comment

    • Dmitrij
      Member
      • May 2017
      • 56
      • 5.7.0

      #3
      Originally posted by Wayne Luke
      These buttons should better adapt to different font sizes and languages in 5.5.1.
      That will be nice

      Just make your modifications and put the resulting code in the css_additional.css template for your style(s).
      Why can I make it not for all the styles?
      In some styles css_additional.css template is marked red but not availiable for changes

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74078

        #4
        Most people don't add styles in a way that makes inheritance easy to do. You can't edit the Master Style because we will simply overwrite your customizations on every upgrade.

        Red doesn't mean it isn't available for changes. It means that it is customized in that style and won't be inherited from its parents.
        Translations provided by Google.

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

        Comment

        • Dmitrij
          Member
          • May 2017
          • 56
          • 5.7.0

          #5
          Originally posted by Wayne Luke
          Most people don't add styles in a way that makes inheritance easy to do. You can't edit the Master Style because we will simply overwrite your customizations on every upgrade.

          Red doesn't mean it isn't available for changes. It means that it is customized in that style and won't be inherited from its parents.
          I mean I can make that changes in css_additional.css template of some styles but not in others (and of course not because the color of template is red). I'm not talking about changing "Master Style".
          For example I can make it in "Black Red" style but can't in "Dark". The template is not availiable for changes (not opens on mouse click)

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74078

            #6
            The color red has nothing to do whether it can be edited or not.

            What is the Javascript error returned by your browser when you double click on a template with a red title?
            Translations provided by Google.

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

            Comment

            • Dmitrij
              Member
              • May 2017
              • 56
              • 5.7.0

              #7
              Originally posted by Wayne Luke
              The color red has nothing to do whether it can be edited or not.
              Never mean it

              What is the Javascript error returned by your browser when you double click on a template with a red title?
              No erroers. Just nothing happens. It is just do not opens. But not in all the styles. That was what I was talking to you

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 74078

                #8
                I don't know why you can't edit it. Please create a support ticket with access to your AdminCP in English. The link is in the footer of this page.
                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...