-
AuthorPosts
-
March 19, 2015 at 6:10 pm #414703
Hello,
Thank you for continuing to improve Enfold, it it an amazing theme!
I am writing because I have just updated to Enfold 3.1.1 and I have noticed two new issues (per attached images).
1/ The sharing section which was normally displayed at the bottom of my ALB posts has for some reason moved at the beginning of the posts (http://www.screencast.com/t/uZE4X2dJs); and
2/ The language widget (qtranslate) has now an arrow displayed inside the selection bar (http://www.screencast.com/t/7lY5dDiE).
Can you please help me revert these to the normal functioning prior to Enfold 3.1.1?
Thank you. Best regards,
Cerasel
March 20, 2015 at 7:26 am #415073Hey cerasel!
Could you please provide us with a link to the site in question so that we can take a closer look?
Best regards,
RikardMarch 20, 2015 at 10:57 am #415191This reply has been marked as private.March 23, 2015 at 4:23 pm #416438Hi!
1. If your using the layout builder for your posts then the share box should not be displaying by default. Did you do a customization? If so then let us know the exact code you added/changed.
2. If I remember right does the QTranslate widget give you two options? One for displaying a select and the other for displaying links normally? Are you wanting to keep the select there? Right now the select dropdown arrow image is not loading for me and it’s the default browser style for the select.
Cheers!
ElliottMarch 23, 2015 at 6:52 pm #416575Hey Elliott !
1. Here is what I am using:
add_action(‘avia_after_content’, ‘avia_add_social_toolbar’, 10, 2);
function avia_add_social_toolbar($id = “”, $context = “”)
{
if($context == “post”)
avia_social_share_links();
}add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
function avia_add_social_toolbar_template_builder($content = “”)
{
if(is_singular(‘post’)){
$content .= avia_social_share_links(array(), false);
$content .= ‘<div style=”height:1px; margin-top:50px; ” class=”hr”></div>’;
}
return $content;
}2. This is correct, Qtranslate offers an option for the links as well but I would like to keep the select dropdown as I think it is more elegant for my site. Do you think that it does not display because there is not enough space between that widget and the next (search) widget?
Thank you for your help.
Best,
Cerasel
March 23, 2015 at 6:56 pm #416579Hey!
1- You can remove the code and use new “Social Share Buttons” element under Content elements in Advanced Layout Builder :)
2- Please add following code to Quick CSS.phone-info .widget_qtranslate { width: 135%; }
Cheers!
YigitMarch 23, 2015 at 7:17 pm #416599Hi Yigit, thanks for the quick reply!
1 – does not work unfortunately, not only the share section does not display but now my posts’ titles have also disappeared from the preview…? I have well checked everything (the social sharing buttons and title display) in the Enfold styling section…
2 – works fine, thank you!
Best,
Cerasel
March 23, 2015 at 7:23 pm #416603Hi!
1- Please add following code to Quick CSS
body .av-special-heading.blockquote > * { color: black; }
If you are not using Advanced Layout Builder to create your posts, you can add Social Share Buttons using magic wand – http://i.imgur.com/qFhV6IK.png
2- Great! :)Regards,
YigitMarch 23, 2015 at 7:32 pm #416609Hi Yigit,
For 1 the code added still doesn’t work… I have reinstated the code previously quoted in functions.php.
From what I understand if I select “use ALB” in under “Blog styling” in Enfold, I will need to customise each post in ALB on its respective post page, and add some function code to complete it with generic functions applicable to all posts. This is how it worked before… Should I add something to keep that share section as it worked with Enfold 3.1. and just push it at the bottom of the page with some indentation?Also, can of think of a reason why the title of the post vanished from the main blog page (I changed nothing to the post slider settings – display “Title and read more link” ?
Thank you for your thoughts.
Best,
Cerasel
March 23, 2015 at 7:39 pm #416615Hey!
Do you mind creating a temporary admin login and posting it here privately?
Best regards,
YigitMarch 24, 2015 at 12:35 am #416810This reply has been marked as private.March 25, 2015 at 8:13 am #417591Hey!
Replace the code on functions.php with this:
add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1); function avia_add_social_toolbar_template_builder($content = "") { if(is_singular('post')){ $content .= '<div id="custom_share_box" class="avia-section main_color container_wrap"><div class="container">'; $content .= avia_social_share_links(array(), '', '', false); $content .= '</div>'; } return $content; }
Cheers!
IsmaelMarch 25, 2015 at 8:27 pm #418125Hey Ismael,
Thank you for this code, the share section is now in place for all posts and works well.
I still need your help to restore the post titles (per my exchange with Yigit of March 23 – 7.17 pm and following – here above).
By adding the recommended code to quick CSS – body .av-special-heading.blockquote > * { color: black; } I have recovered the posts titles in their corresponding single post pages (I don’t know the reason why they disappeared in the first place..).
However the titles are still not showing in the Blog preview (Blog page called “Publications”) – this is what I mean: http://www.screencast.com/t/VxyGgTPF9jCZ
I have also lost the titles of the post suggestions in the right sidebar for single posts: they looked like this under Enfold 3.1: http://www.screencast.com/t/uZE4X2dJs
Do you think there might be a way to get these back?… I will probably think twice before installing further updates to the theme (although offer many interesting improvements, they also interfere with previous adjustments causing a lot of work for all of us…).
Many thanks for your help.
Best,
CeraselaMarch 27, 2015 at 5:08 pm #419420Hey!
You have their color set to white. Use this CSS to set them back to black.
.entry-title a { color: black !important; }
Cheers!
ElliottApril 7, 2015 at 12:09 pm #424588Hi Elliott,
Thank you so much it works perfect !
Best
Cerasel
-
AuthorPosts
- The topic ‘Enfold 3.1.1 – display issues in share section for ALB posts + search icon’ is closed to new replies.