Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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]

    #1069107

    Hello,

    Any help please ?

    Thank you.

    #1069428

    It’s possible to have a solution ?

    #1069588

    Hi 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,
    Nikko

    #1069589

    Hello,

    Thank you for you reply.

    #1069598

    Hi 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,
    Nikko

    #1069602

    Hello,

    Thank you. But i have add the css on quick css but it’s not ok. :(

    #1069695
    This reply has been marked as private.
    #1069768

    Hi 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.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. 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 ).
    5. Click ” Submit “.
    6. 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,
    Nikko

    #1070119

    Thank 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.
    #1070185

    Hi LMDA07,

    Glad to hear that it’s working fine now. :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.