Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1240338

    Hi, I’m using the code from your website below to style the Social Share Buttons.
    They are aligned to the center by default, but I would like them aligned on the left.
    How can I do that?

    Also, how can I change the language/text of the tooltip, and the transparency or placement?
    It looks like the tooltip is transparant and is display below the text above it now, which I don’t want.

    Best regards, Haiko.

    /*----------------------------------------
    // CSS - Social Share style - 3 
    //--------------------------------------*/
    
    /* Hide tool tip
    .av-social-sharing-box .avia-related-tooltip {
      display: none !important;
    } */
    
    #top .av-share-box ul { 
       border: none;
    }
    
    /* Remove icon border */
    .av-share-box ul li {    
        border-left-style: none;    
        display: inline-block;
        vertical-align: middle!important;
       margin: 0 10px 0 0; 
    }
    
    /* Icon style */
    .av-share-box ul li a {
       width: 30px!important;
       height: 30px!important;
       border-radius: 5px!important; 
       padding: 3px 0 !important;
    
    }
    
    /* Icon color */
    .av-share-box ul li a:before {
      color:#1d1d1b;
      transition: all .5s ease;
    }
    
    /* Icon color on hover */
    .av-share-box ul li a:hover:before {
      color:#1d1d1b;
      transition: all .35s ease;
    }
    
    /* Icon background color on hover */
    .av-share-box ul li a {
      background: #f0f0f0;
    }
    
    .av-share-box ul li a:hover:before {
      color:#f4f7f9;
    }
    • This topic was modified 4 years, 2 months ago by rhae.
    #1240722

    Hey rhae,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .av-share-box ul {
      display: block;
      table-layout: initial;
    }
    .av-share-box ul li {
      display: inline-block;
      float: left;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1240728

    Hi Victoria,

    Great, that works as I hoped, thanks a lot!
    How can I change the language/text of the tooltip?

    Best regards, Haiko.

    • This reply was modified 4 years, 2 months ago by rhae.
    #1241905

    Hi rhae,

    Are you using some translation plugin?

    Best regards,
    Victoria

    #1241916

    Hi Victoria,

    no, I’m not.

    Best regards, Haiko.

    #1242867

    Hi Haiko,

    Please go to Settings > General and set site language to Dutch, so Dutch language files can be used. It is currently set to English.

    If you would like to use WordPress in English, you can go to Users > Profile and set profile language to English :)

    Best regards,
    Yigit

    #1242875

    Hi Yigit, thank you, but I prefer to work in an English environment. There’s no other way to translate those tooltips?

    Best regards, Haiko.

    #1242885

    Hi,

    As I mentioned, you can go to Users > Profile and set your profile language to English while site language is Dutch :)

    Best regards,
    Yigit

    #1243055

    Hi Yigit,

    thank you, sorry, I didn’t get that before. The translation option in my profile wasn’t available until I changed the site language.
    But it’s not possible to change the tooltip manually?

    Best regards, Haiko.

    #1243088

    Hi Haiko,

    It is possible but you would need to edit /enfold/includes/helper-social-media.php file and your changes would be overwritten each time you update the theme.

    If you would like to change Dutch translations, you can use this plugin to update the theme strings – https://wordpress.org/plugins/loco-translate/ :)

    Best regards,
    Yigit

    #1243096

    Hi Yigit,

    thank you for the explanation. I’ll stick with the current translation for now.

    Best regards, Haiko.

    #1243375

    Hi Haiko,

    Ok :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

    #1243377

    Hi,

    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Change alignment of Socials Share Buttons’ is closed to new replies.