Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Rajat Varlani

    (@the_champ)

    Hi there,

    I noticed that CSS of your website is overriding the CSS of sharing icons. To resolve it, place following code at the end of “wp-content/themes/CURRENT_THEME/functions.php” before ?> (if ?> is not there, simply place the code at the end of the file) and save the file back. CURRENT_THEME is your active theme:

    function the_champ_custom_css(){
    	?>
    	<style type="text/css">
    	ul.the_champ_sharing_ul li{
    	    width: auto !important;
    	}
    	</style>
    	<?php
    }
    add_action('wp_head', 'the_champ_custom_css');
    Thread Starter DesignAc

    (@designac)

    Hello the_champ and thank you very much for your quick reply. I’ve added the code to my child theme’s (which is the active theme) functions.php but there is no change. My functions.php looks like this:

    <?php
    /**
     * @package WordPress
     * @subpackage Sweetdate
     * @author SeventhQueen <[email protected]>
     * @since Sweetdate 1.0
     */
    
    /**
     * Sweetdate Child Theme Functions
     * Add extra code or replace existing functions
    */ 
    
    function the_champ_custom_css(){
    	?>
    	<style type="text/css">
    	ul.the_champ_sharing_ul li{
    	    width: auto !important;
    	}
    	</style>
    	<?php
    }
    add_action('wp_head', 'the_champ_custom_css');
    
    ?>
    Plugin Author Rajat Varlani

    (@the_champ)

    Seems some issue with your child theme. Try to place this code in functions.php file of your parent theme.

    Thread Starter DesignAc

    (@designac)

    Hi. Adding code to functions.php of my parent theme didn’t solve the problem. Still vertical…

    Plugin Author Rajat Varlani

    (@the_champ)

    Then place following CSS in any CSS file being loaded at the webpage where vertical sharing interface is appearing

    ul.the_champ_sharing_ul li{
    	    width: auto !important;
    	}

    Thread Starter DesignAc

    (@designac)

    Adding this:

    .activity-list li, #groups-list li {
        clear: none !important;
    }

    after your code did the trick ??

    Plugin Author Rajat Varlani

    (@the_champ)

    Cool ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Horizontal Sharing is Vertical in buddypress’ is closed to new replies.