-
AuthorPosts
-
August 24, 2020 at 12:39 pm #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.
August 25, 2020 at 5:47 pm #1240722Hey 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,
VictoriaAugust 25, 2020 at 5:57 pm #1240728Hi 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.
August 30, 2020 at 12:49 pm #1241905Hi rhae,
Are you using some translation plugin?
Best regards,
VictoriaAugust 30, 2020 at 1:48 pm #1241916Hi Victoria,
no, I’m not.
Best regards, Haiko.
September 2, 2020 at 4:58 pm #1242867Hi 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,
YigitSeptember 2, 2020 at 5:43 pm #1242875Hi Yigit, thank you, but I prefer to work in an English environment. There’s no other way to translate those tooltips?
Best regards, Haiko.
September 2, 2020 at 6:26 pm #1242885Hi,
As I mentioned, you can go to Users > Profile and set your profile language to English while site language is Dutch :)
Best regards,
YigitSeptember 3, 2020 at 10:54 am #1243055Hi 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.
September 3, 2020 at 1:40 pm #1243088Hi 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,
YigitSeptember 3, 2020 at 2:11 pm #1243096Hi Yigit,
thank you for the explanation. I’ll stick with the current translation for now.
Best regards, Haiko.
September 4, 2020 at 2:36 pm #1243375Hi Haiko,
Ok :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
VictoriaSeptember 4, 2020 at 2:36 pm #1243377Hi,
Best regards,
Victoria -
AuthorPosts
- The topic ‘Change alignment of Socials Share Buttons’ is closed to new replies.