Site Search

AllenAllen Registered Users Posts: 10,013 Major grins
edited July 6, 2012 in SmugMug Support
We used to be able to remove the "all SmugMug photos" with some CSS but it looks like Smugmug
changed something and a class no longer exists for this. Seems now "allusersearch" class covers the
whole thing.

We need a class name added to the "all SmugMug photos" link so we can hide it. Many have asked in
the past to not show a link to leave site. Latest here.
I can't imagine any Pro or business wanting visitors leaving their site.

Example searching from a gallery. You can search up each level.
<div id="searchingIn" class="nav">
  <p>
    <span class="title">Searching in</span>
    <a class="foreground" href="gallery link">gallery</a>
    <span class="[COLOR=Red]allusersearch[/COLOR]">
      |
      <span class="title">or search in:</span>
      <a class="nav" href="link">sub-category</a>
      |
      <a class="nav" href="link">category</a>
      |
      <a class="nav" href="link">whole site</a>
      |
      [COLOR=Red]<a class="nav" href="link">all SmugMug photos</a>[/COLOR]
    </span>
  </p>
</div>
Al - Just a volunteer here having fun
My Website index | My Blog

Comments

  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited July 6, 2012
    Found this CSS in this thread.
    /* Hide link to search "all Smugmug photos" on search results pages */
    .allusersearch  a:last-child {display:none;}
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
Sign In or Register to comment.