Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-06-14 01:25:48

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Photo Search multiple result sites

Photo Search works now very well!

I played a lot with custom css.

In the search results you can see the albums found and the numbers of sites with photos which were found.
But you never know how much sites were found. Also, you don't know, that you have reached the last site, because there are always the arrows for the next or the previous site (same colour).

I would wish a change of that, but I don't know how - with custom css or what else?

Rainer

Offline

#2 2016-06-14 01:41:13

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Photo Search multiple result sites

I see what you mean. Searching on "nepal" ends up with 48 pages of results. When you get to page 48, the right arrow > is disabled. When you hover over it, there's no pointy finger.
At that point, there is a class named "disabled" added to the list item:

<li class="next page-link disabled">

You could write some css that changes the color of that. Try:

ul.page-navigation li.next.disabled > *::after {
color: red;
}

As for showing the total number of pages....that'll be for Matt to address.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-06-14 02:02:06

Rainer Goergen
Member
From: Trier, Germany
Registered: 2016-05-01
Posts: 401
Website

Re: Photo Search multiple result sites

Got it, thanks Rod.

I took this value:

ul.page-navigation li.next.disabled > *::after {
    display: none;
}

ul.page-navigation li.previous.disabled > *::after {
    display: none;
}


Rainer

Last edited by Rainer Goergen (2016-06-14 02:37:00)

Offline

Board footer

Powered by FluxBB