Viewing 30 posts - 1 through 30 (of 30 total)
  • Author
    Posts
  • #256704

    For the “share this entry”

    How to:
    1.display in the standard format of small squares (perhaps 50px), as opposed to default of larrge rectangles?
    2.remove the text “share this entry”
    3. remove share hover

    #257154

    Hi aribann!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    .av-share-box ul { width: 50%; }
    .av-share-box .av-share-link-description { display: none; }
    .av-share-box ul li a:hover { color: #666666!important; background-color: white!important; }

    Regards,
    Yigit

    #257194

    1. width control did not work, !important didnt help. editing layout.css directly works
    2. is good
    3. just turns things white, i am talking about the descriptive bubble that appears on hover

    #257204

    Hi!

    Please add following code instead
    3-

    .av-share-box .avia-related-tooltip { display: none !important; }

    Best regards,
    Yigit

    #257206

    Thank you
    Any idea what I am doing wrong with the width?

    #257220

    Hey!

    Code works fine on my local installation – http://i.imgur.com/Wr3oFGP.png
    No !important rule added just as i posted here. Have you tried flushing browser cache?

    Best regards,
    Yigit

    #257376

    I have 1-3 sorted.

    I cant figure out how to change or eliminate the border color

    #257473

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #257474
    This reply has been marked as private.
    #257487

    Hey!

    Try adding this code to the Quick CSS:

    .av-share-box-list, .av-share-box ul li {
        border: 0 !important;
    }

    Cheers! 
    Josue

    #270249

    How change the sentence ‘Share this entry’ into something different?

    #270260

    Put this code in the theme functions.php (at the end):

    function modify_share_title(){
    	return "Share this";
    }
    add_filter('avia_social_share_title', 'modify_share_title');

    Best regards,
    Josue

    #270268

    Hmmm, doesn’t seem to work. Do I have to do something else after adding the code to functions.php?

    #270270

    Open /includes/helper-social-media.php and look for line 214:

    $this->html .= 	__("Share this entry",'avia_framework');
    

    Change it to:

    $this->html .= 	apply_filters('avia_social_share_title', __("Share this entry",'avia_framework'), $this->args);
    

    Cheers!
    Josue

    #270292

    Hmm, doesn’t work. It still shows “Share this entry” after changing that part in your code.

    #270295

    The last change i suggested was meant to be made on the theme files, this specifically:

    /includes/helper-social-media.php

    If it doesn’t work please create me an administrator account, post it here as a private reply.

    Regards,
    Josue

    #270303
    This reply has been marked as private.
    #270306

    Hey!

    The change is actually applied, look:
    http://factsandmore.nl/factsmore-goes-chinese/

    What you need to modify now is the code in the theme functions.php:

    function modify_share_title(){
    	return "Share this"; 
    }
    add_filter('avia_social_share_title', 'modify_share_title');

    Change “Share this” by the text you want to use.

    Cheers!
    Josue

    • This reply was modified 10 years, 7 months ago by Josue.
    #270309

    Thanks a lot! I forgot functions.php, my mistake!

    #270312

    You are welcome, glad we could help :)

    Regards,
    Josue

    #1130514

    Hi, “Share This Entry” will only display when the pencil icon is clicked in my posts.
    I would like to remove the pencil icon and always display the “Share This Entry”.
    However, when I use CSS to remove the pencil icon, the “Share This Entry” disappears.
    Please help! Thankyou, Angela

    #1130563

    Hi,
    Can we see your post? I not sure which pencil icon you mean, this is how it looks on my site:
    2019-08-24-015952

    Best regards,
    Mike

    #1130564
    This reply has been marked as private.
    #1130566

    Actually, I don’t even mind if the pencil icon remains on the screen.

    I just want to ensure that the “Share this Entry” is always displayed at the bottom of the screen, for every post.

    #1130570

    Hi,
    Thank you for the link, the page with the pencil is actually a category archive page, and clicking the pencil takes you to the actual post.
    To add the social share buttons to a category page please edit the enfold/archive.php page on line 90 and look for:

                            get_template_part( 'includes/loop', 'index' );
                        }
                        
                        ?>
    
    				<!--end content-->
    				</main>

    and change to:

                            get_template_part( 'includes/loop', 'index' );
                        }
                        echo do_shortcode("[av_social_share title='Share this entry' style='' buttons='custom' share_facebook='aviaTBshare_facebook' share_twitter='aviaTBshare_twitter' share_gplus='aviaTBshare_gplus' share_linkedin='aviaTBshare_linkedin' share_mail='aviaTBshare_mail' custom_class='' admin_preview_bg='' av_uid='av-670mc8'] ");
                        ?>
    
    				<!--end content-->
    				</main>

    or make a backup of your archive.php file and try uploading this replacment file:
    https://www.dropbox.com/s/ct4k9l7xw04xa4p/archive_with_social_share.zip?dl=0

    Best regards,
    Mike

    #1130861

    Great! Thanks for your prompt help.

    #1130927

    Hi Angeladlh,

    Great, I’m glad that Mike could help you out :-)

    Best regards,
    Rikard

    #1186474

    Hi dear support team, I wondered if it’s possible to edit the text when sharing an article on Twitter: instead of just sharing the title and URL is it possible to add a text such as “found on @companyusername” or “via @companyusername”?

    Thanks!
    Morgane

    #1186520

    Hi mfalaize,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

    #1186641

    Hi Victoria, no problem thanks for your answer ;)
    Best,
    Morgane

Viewing 30 posts - 1 through 30 (of 30 total)
  • The topic ‘Share this entry: How to format?’ is closed to new replies.