Yossi Tsafar
asked 9 years ago

Hello,

First, I have to say that I’ve been searched for this kind of plugin for long time and this one is just amazing!

How do I add a share buttons only to the question asked, but not to the entire website? I’ve installed several share plugins, but it adds the share buttons to all of my pages..

Thanks!

3 Answers
DominicStaff
answered 9 years ago

Hi,
You can tell me detail about the position that you want to display the button share.
Regards,

Yossi Tsafar
answered 9 years ago

I want to add them under this line, but always the design is breaking..

![image](http://i62.tinypic.com/anfrk9.png "enter image title here")

DominicStaff
answered 9 years ago

To resolve this issue, you can add the following code to the style.css file:

.dwqa-privacy .socials li {
  display: inline-block;
  font-size: 18px;
  line-height: 30px;
  padding: 0;
}
.dwqa-privacy .socials li a {
  background-color: #999;
  border-radius: 20px;
  color: #fff;
  padding: 9px 13px;
}
.dwqa-privacy .socials li a:hover{
  background-color: #111; 
  border-radius: 20px;
  color: #fff;
  padding: 9px 13px;
}
.dwqa-privacy .socials li:first-child a {
  padding: 10px 16px;
}
  • Open the template-functions.php file in the folder path "wp-contentpluginsdw-question-answerinc", then add the following code under line 235.
    <ul class="socials pull-right visible-desktop">
    <li class="social facebook"><a href="#"><i class="fa fa-facebook"></i></a></li>
    <li class="social twitter"><a href="#"><i class="fa fa-twitter"></i></a></li>
    <li class="social google_plus"><a href="#/"><i class="fa fa-google-plus"></i></a></li>
    <li class="social youtube"><a href="#/"><i class="fa fa-youtube"></i></a></li>
    <li class="social linkedin"><a href="#/"><i class="fa fa-linkedin"></i></a></li>
    </ul>

    Hope this helps !

Powered by DW Question & Answer Pro