Tagged: Blog
-
AuthorPosts
-
February 19, 2019 at 1:54 pm #1068965
Hello,
I would like to remove the bar that separates the title from the text. Reduce the number of characters in the extract.
And remove all the information after the extract. Only keep the title and the extract.
What should I change?
[url=https://www.noelshack.com/2019-08-2-1550577250-sans-titre-2.jpg][img]https://image.noelshack.com/minis/2019/08/2/1550577250-sans-titre-2.png[/img][/url]
February 19, 2019 at 9:27 pm #1069107Hello,
Any help please ?
Thank you.
February 20, 2019 at 12:51 pm #1069428It’s possible to have a solution ?
February 20, 2019 at 5:59 pm #1069588Hi LMDA07,
Yes, solution is possible.
Can you give us a link to the page shown in the screenshot? so we can take a closer look and give you css code that should work.
You can post the link in private content.Best regards,
NikkoFebruary 20, 2019 at 6:00 pm #1069589Hello,
Thank you for you reply.
February 20, 2019 at 6:11 pm #1069598Hi LMDA07,
Go to Enfold > General Styling > Quick CSS, then add this css code:
#top.home #after_submenu_1 .av-alb-blogposts span.av-vertical-delimiter { display: none; } #top.home #after_submenu_1 .av-alb-blogposts h2.post-title.entry-title { margin-bottom: 0; padding-bottom: 0; }
Best regards,
NikkoFebruary 20, 2019 at 6:17 pm #1069602Hello,
Thank you. But i have add the css on quick css but it’s not ok. :(
February 20, 2019 at 9:12 pm #1069695This reply has been marked as private.February 21, 2019 at 4:05 am #1069768Hi LMDA07,
I have tested it via web inspector on the link you gave and it works fine.
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
NikkoFebruary 21, 2019 at 10:18 pm #1070119Thank you for your help. But it’s OK because i have add this :
#top.home .av-alb-blogposts span.av-vertical-delimiter { display: none; } #top.home .av-alb-blogposts h2.post-title.entry-title { margin-bottom: 0; padding-bottom: 0; } #top.home .av-alb-blogposts span.post-meta-infos { display: none; } #top.home .av-alb-blogposts .post_delimiter { display: none; }
and this on the page function.php
// Excerpt length function custom_excerpt(){ ?> <script> // trim sentence by 22 words function trimByWord(sentence,wordcount = 22) { var result = sentence; var resultArray = result.split(" "); if(resultArray.length > wordcount){ resultArray = resultArray.slice(0, wordcount); result = resultArray.join(" ") + "..."; } return result; } jQuery(window).load(function(){ jQuery('.post-entry').each(function() { jQuery(".entry-content ").text(function(index, currentText) { return trimByWord(currentText); }); jQuery(".entry-title a").text(function(index, currentText) { return trimByWord(currentText,15); // trim title by 15 words }); }); }); </script> <?php } add_action('wp_head', 'custom_excerpt');
- This reply was modified 5 years, 11 months ago by LMDA07.
February 22, 2019 at 3:55 am #1070185Hi LMDA07,
Glad to hear that it’s working fine now. :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.