How does "search inside" work with journal results and can I hide it?
Answer
The search inside section displays on the Full Display page when the journal has an ISSN, and lets users find articles within the journal:
The search uses your search term coupled with the ISSN, and works for both print and electronic journals.
To enable this functionality, you must define the ISSN field as a search index for advanced searches (see Adding a Search Index, Resource Type, or Language to Advanced Searches).
To suppress the functionality, you can add the following CSS to your customization package:
/**Hide "search inside" for journals **/
prm-search-within-journal { display: none;}
.search-within-p-only { display:none; }
Ex Libris Documentation:
Topics
Comments (6)
-
Thank you so much! Adding this code to our CSS worked to remove the "search inside" box. However, the text "Search inside" is still appearing above where the search box used to be. Were you able to suppress that as well? Thanks again!
-
Hi Linda,This code hid both the box and the section label for us:/**Hide "search inside" for journals **/prm-search-within-journal { display: none;} .search-within-p-only { display:none }
-
Not tested, but if you only want to hide it for PRINT journals, this part of the code should do it: .search-within-p-only { display:none }
-
Thank you all! But we just figured out we needed to add another line to our CSS (in case anyone else runs into this problem!): #searchWithinJournal {display: none;}
-
prm-search-within-journal, .search-within-p-only, #searchWithinJournal { display: none; } gets rid of "Search inside" in the full text display, but I still see it in the small "navigation" in the left column.
-
We may be a special case because we sort the elements of the full display in CSS. I have to add [aria-label="Search inside"] { display: none;} [aria-label="Suche innerhalb"] { display: none;} [aria-label="Rechercher dans"] { display: none;} [aria-label="Cerca in"] { display: none;} to hide 'Search inside' from the small navigation on the left.