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 2015-06-25 01:34:37

gengl
Member
From: Lexington, SC
Registered: 2013-11-24
Posts: 80
Website

Page navigation

Is it possible to change the appearance of the page navigation items in a gallery via phplugins?

For instance, if a gallery takes up 3 pages, can I alter the appearance of the navigation bars that appear at the top and bottom of the gallery that have the numbers 1 2 3 and Next/Previous? Either via phplugins or custom CSS?

And if so, what items should I target?

Do these navigation bars originate in a lib file or from ttg-be?

Offline

#2 2015-06-25 04:01:49

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

Re: Page navigation

you can target the pagination areas with custom css. Use your browser's inspector to get to the specific selectors.

But the overall class for the two divs is .pagination. The top pagination area also has a class of .pagination-top while the bottom area has a class of .pagination-bottom

You can use these to style the background, borders, etc. but you may need to get more specific with the list items within the divs to style the numbers and text.

you'll probably need to use:

.the-grid .pagination {

....your styling...
}

plus other, more specific rules for the other things like the numbers and words


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 2015-06-27 02:36:59

gengl
Member
From: Lexington, SC
Registered: 2013-11-24
Posts: 80
Website

Re: Page navigation

Thanks Rod - just what I needed to know. You guys are great!

Offline

Board footer

Powered by FluxBB