WordPress.org

Ready to get started?Download WordPress

Forums

Really simple Facebook Twitter share buttons
[resolved] Outlining shortcode buttons (3 posts)

  1. rembert
    Member
    Posted 9 months ago #

    I'm trying to get things to run properly in the Kutcher theme: I only want the buttons to display on specific locations. The extra field doesn't help me as this theme uses multiple content blocks.

    My first try was to include the buttons on each page and then to force hiding it via CSS. For selected pages / blocks I could then enable visibility again. But, the Google buttons won't hide due to the iframe.

    Second try: include the shortcodes where I want them. Works perfectly, well, kindof. If I use multiple shortcodes, they'll be separated by a div having a hardcoded style clear:both. The div doesn't have an ID or class assigned. It would already help if I could override this with CSS. For now, I removed it from the php code. But also .really_simple_share contains clear:both. Fixed this by adding the css:

    .really_simple_share {
      clear:none;
      float:left;
    }

    This will work until the plugin is upgraded.

    http://wordpress.org/plugins/really-simple-facebook-twitter-share-buttons/

  2. whiletrue
    Member
    Plugin Author

    Posted 9 months ago #

    Hi rembert,
    I think your second try is the best way of doing it. For your convenience, I'm removing the hardcoded clears (moving them in the CSS file) in the next plugin update.

  3. rembert
    Member
    Posted 9 months ago #

    That's a fast response. I do appreciate that! Thanks. Looking forward to the update.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.