adambernnyc Posted February 16, 2020 Share Posted February 16, 2020 Site URL: http://www.spaceflightnewsmedia.com In the Rally theme, what CSS can I use to show only the Blog Post title in the search results, but hide the blog excerpt in those same results? Link to comment
tuanphan Posted February 16, 2020 Share Posted February 16, 2020 I don't see search bar. Can you share link to search page? 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!) Link to comment
adambernnyc Posted February 16, 2020 Author Share Posted February 16, 2020 5 hours ago, tuanphan said: I don't see search bar. Can you share link to search page? Here's an example of the search results page: https://www.spaceflightnewsmedia.com/search?q=spacex&f_collectionId=5dd7fe1484879234de9b7eb2 I would like the search results to show either the Blog Post Title only or the Blog Post Title with the Excerpt Summary, but not a summary that shows every mention of the search phrase within the post, as it does now. Link to comment
tuanphan Posted February 16, 2020 Share Posted February 16, 2020 Add to Home > Design > Custom CSS .sqs-search-container-item .sqs-content .sqs-content { display: none; } 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!) Link to comment
Perses Posted October 7, 2020 Share Posted October 7, 2020 On 2/16/2020 at 6:46 PM, tuanphan said: Add to Home > Design > Custom CSS .sqs-search-container-item .sqs-content .sqs-content { display: none; } Hi Tuanphan, I used the above code to limit the amount of material the square space search engine pulls. However, Is there a way to have the search function on Squarespace exclude blog posts by date parameters? I don't want people searching for, say, "Giving," and finding blog posts from 2 years ago. The blog post on my site "News from the Congregation" are weekly newsletters. Each Newsletter title. includes the date published. Is there a way to add code to the search parameters so as to exclude blog posts published before x date. website: www.saintsaviour.org search bar in footer Link to comment
tuanphan Posted October 10, 2020 Share Posted October 10, 2020 On 10/7/2020 at 7:15 PM, Perses said: Hi Tuanphan, I used the above code to limit the amount of material the square space search engine pulls. However, Is there a way to have the search function on Squarespace exclude blog posts by date parameters? I don't want people searching for, say, "Giving," and finding blog posts from 2 years ago. The blog post on my site "News from the Congregation" are weekly newsletters. Each Newsletter title. includes the date published. Is there a way to add code to the search parameters so as to exclude blog posts published before x date. website: www.saintsaviour.org search bar in footer I think it is possible with custom JavaScript. However, it takes a lot of time to test the code. You can post on some FB groups Squarespace Customzation Resource Group Squarespace Community 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!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.