gbby Posted May 3, 2021 Posted May 3, 2021 Site URL: https://www.phlaff.org/festival/2021/film-guide Hi everyone, Is there a way to give users the option of 'resetting' the 'filter' when searching blog posts through tags in an archive block drop down? Right now, the page reloads with the selected posts with the following language: "Posts tagged xyz" Is there a way to 1) change this text, 2) add a 'reset' link so viewers can get back to unfiltered blog posts without using browser navigation, and 3) reduce the amount of space between the archive block and the "Posts tagged" line and the blog posts themselves? See screenshot for example. Thank you for your expertise!
tuanphan Posted May 5, 2021 Posted May 5, 2021 Q3. Add to Design > Custom CSS .Intro-content { padding-bottom: 1px; } Q1. Add to Settings > Advanced > Code injection > Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("header.BlogList-filter").html(function() { return $(this).html().replace("Posts tagged", "new text"); }); }); </script> Q2. Add Q1's code first, then we can check Q2 code easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.