Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

To set share count and share button in one row

$
0
0

Replies: 1

Dear developers,

How can I make the share counter and the share button generated by do shortcode function appear in the same row? You have helped me solving this problem in the past with the following code previously in this support ticket:
https://wordpress.org/support/topic/align-counter-and-share-button-at-the-same-row/

.wpsr-btn.wpsr-srvc-social_icons.wpsr-btn-4842{
    width: calc(100% - 80px);
}

I have tried using this code, but it does not work. I notice that for social share button and counter generated with do short code function, the div of share counter is not under the the div for share button. I guess it is the reason why that code does not work. I have also tried using display: inline-block, but that code is futile as well. What should I do?

Thank you for reading and your help!


Viewing all articles
Browse latest Browse all 59525

Trending Articles