Reply To: Social Media buttons stripped from search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Social Media buttons stripped from search results Reply To: Social Media buttons stripped from search results

#9811
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi Tom,

Unfortunately it looks as the desired version on my end: https://i.imgur.com/iUF1gDT.png

It suggests to me, that this very much depends on the actual situation. There might be different CSS rules for default div behaviors, or that the layout of the shortcode might be different. It’s impossible to tell without actually seeing it.

As a final solution, you could try replacing the code with this:

Now, instead of the inline styles, there is an class element, so we can apply different CSS to it. I will list a few possible solution, try them out, and let’s hope one of them fits at least a little bit:

1. Try:

.asp_social_cont {
    margin: 0 auto !important;
    text-align: center !important;
    width: auto !important;
}

2. Try:

.asp_social_cont {
    margin: 0 auto !important;
    text-align: center !important;
    width: auto !important;
    float: right !important;
}

3. Try:

.asp_social_cont {
    margin: 0 auto !important;
    text-align: center !important;
    width: auto !important;
    float: left !important;
}

4. Try:

.asp_social_cont {
    margin: 0 auto !important;
    text-align: center !important;
    width: auto !important;
    display: inline !important;
}

Try each of these custom CSS rules one by one to see if they change anything. Let’s hope they do.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)