Langsung ke konten utama

Merubah kata "READ MORE" menjadi kalimat lain pada div

 Customize Blog Module - Read More Link Text


Change text of the read more button. Change style and color of the read more button.


Updated over a year ago

Change text of the Read More Link

1) To change the text of the Read More button in a Blog module go to Divi > Theme Options > Integrations > "Add code to the < head > of your blog" and add this code:

==========


<script>

(function($) {

$(document).ready(function() {


var custom_read_more_text = 'Custom Text';


$(".et_pb_posts .more-link, .et_pb_blog_grid .more-link").text(custom_read_more_text);

$(".pagination a").click(function(){

$(document).ajaxSuccess(function(){

$(".et_pb_posts .more-link, .et_pb_blog_grid .more-link").text(custom_read_more_text);

});

})

});

})(jQuery)

</script> 


=========

Komentar

Postingan populer dari blog ini

Quick Tip: Remove Space between Footer and Post in Divi

 Divi has a weird quirk where any blog post that is published has a space between the post and the footer. Luckily there is a quick fix. Click on the gear icon in the Divi Visual Builder. In the CSS section of the post editor, add the following code snippet and save. .single .et_pb_post {  margin-bottom: 0;  padding-bottom: 0; } #left-area {  padding-bottom: 0 !important; } If it is saved correctly, you should no longer see a space between the post and footer.

Membuat background colom atau section yang saat di hover zoom

https://www.youtube.com/watch?v=EMud8mbVZ50 Pada colom yang ada backgroundnya, masuk ke ADVANCE - CUSTOM CSS - MAIN ELEMENT: background-size:100%; transition: all 0.5s ease; dan di HOVER: background-size:130%; Start write the next paragraph here