• Resolved redbricks

    (@redbricks)


    Hi,

    love the plugin, especially since it works with WooCommerce.

    I have two questions:

    1) Is it possible to add some padding above the icons? They are just a little bit too close to the above content (in my theme at least).

    2) In woo commerce product section icons can be before or after content, but only inside the product summary. Can they be placed somewhere else?

    If you take a look at WooCommerce template visual breakdown here, the icons are inside “woocommerce_after_single_product_summary” section, but I would like them to be somwehere between “woocommerce_single_product_summary” and “woocommerce_product_meta_end”.

    I know this question has already been asked, but I didn’t quite understood the answer.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Yes, you can add padding above the icons. You can add CSS to your theme or in Appearance > Customize > Additional CSS.

    If you right click on the share button and click “Inspect Element”, you’ll see the CSS that’s currently applied to it.

    The “Before Content” and “After Content” display locations are determined by your theme. For most sites, they will be appear directly before or after the post content (using the_content filter).

    You can modify it to use the WooCommerce hooks using the shared_counts_theme_locations filter. The following code will move the “Before” location to woocommerce_single_product_summary and the “After” location to woocommerce_product_meta_end: https://gist.github.com/billerickson/7b0e9a01081d5eccbe2a088f1baf99cf

Viewing 1 replies (of 1 total)
  • The topic ‘Add padding, move to another location’ is closed to new replies.