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 2017-08-07 07:38:16

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

Selector Okapi - Pangolin may be new

ul.page-navigation li.next.disabled > *::after {
    display: none; /* Wenn letzte Seite des Suchergebnisses erreicht wird, wird der Pfeil fuer die naechste Seite nicht mehr angezeigt */
}

ul.page-navigation li.previous.page-link.disabled > *::after {
    display: none; /* Auf der ersten Seite des Suchergebnisses wird der Pfeil fuer die vorherige Seite nicht mehr angezeigt */
}

This was old css code in Okapi, but does not work in Pangolin. I cannot find any difference.
Is there a new selector?

Thanks, Rainer

Offline

#2 2017-08-07 07:40:00

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

Re: Selector Okapi - Pangolin may be new

what is this in, what is it being used for? navigation?  in an album?

a link to a page always helps


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 2017-08-07 07:57:04

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

Re: Selector Okapi - Pangolin may be new

After a search the result is displayed. Is it more than one site, you see the numbers of the sites right above the results. And there are arrows vor the next or the previous sites. If you are on the first site, the arrow to the previous site is displayed, but inactive. The same if you are on the last site, the arrow to the next site is displayed, but inactive. This code in Okapi doesn't show the arrows, if inactive. But it works not in Pangolin.

Rainer

Offline

#4 2017-08-07 08:05:59

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

Re: Selector Okapi - Pangolin may be new

Oh, Ok.

Just looked at that in my own test site using the browser inspector (really handy tool to learn how to use). It doesn't show any direct descendants for an :after psuedo selector to be applied to.

try remove the descendant and psuedo selector and see if that works:

ul.page-navigation li.previous.page-link.disabled {
    display: none; 
}

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

Offline

#5 2017-08-07 08:20:56

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

Re: Selector Okapi - Pangolin may be new

I will, but tomorrow.

Thanks

Offline

#6 2017-08-08 21:33:55

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

Re: Selector Okapi - Pangolin may be new

Works, thanks Rod.

Rainer

Offline

Board footer

Powered by FluxBB