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 2014-12-14 00:22:26

paulg
Member
From: Wiltshire, UK
Registered: 2012-09-29
Posts: 73

Page selection menu color

Referring to this page
http://paulgulliver.co.uk/galleries/por … transport/
how do I change the background color of the strip above the thumbnails that contain the gallery page number links. If I'm not able to change the background, then what parameter changes the text color.
I know some other links don't work, please ignore them.
Thanks,
Paul

Offline

#2 2014-12-14 01:32:25

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

Re: Page selection menu color

it looks to me that the pagination area is taking its color from the Cell Background-color (I don't see Pagination being previewed in Lightroom)

The color of the text is coming from the Typography settings for Color and Hyperlink-color in the Site Info control pane

I don't see any way in the plug-in to specifically control Pagination styling so it will need to be done with custom css.
For example, to eliminate the background color:

.pagination {
     background-color: transparent;
}

You can control the colors of the page numbers with custom css as well

EDIT: I'm now seeing Pagination previewed in Lightroom. Not sure why, but I jumped out of the web module and then back in and could then see the Pagination section in the LR preview.


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 2014-12-14 06:12:56

paulg
Member
From: Wiltshire, UK
Registered: 2012-09-29
Posts: 73

Re: Page selection menu color

Thanks Rod,
Yes it appears the pagination preview only appears after its been saved and not after the refresh.
I've altered the text color at the moment (on the Lightroom preview).
On the site I'm having problems with the custom CSS.
I've renamed the phplugins-sample to just phpplugins (in the gallery), and I've edited the phplugin.php file to enable custom css but it doesn't recognize any change I make in the custom css file.
I'm going to have to leave it for now and have another look tomorrow.
I might edit the template in the publisher section and re-upload the gallery and try it that way.

Offline

#4 2014-12-14 06:38:33

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

Re: Page selection menu color

in the phplugins file code, the path to the custom.css file assumes you're using a global phplugins/ folder in the root of your site.
If you're just using the phplugins file in the gallery, then you'll need to alter the path to the custom.css file in the phplugins.php code.


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 2014-12-14 20:43:16

paulg
Member
From: Wiltshire, UK
Registered: 2012-09-29
Posts: 73

Re: Page selection menu color

It seems the pagination strip color is governed by the thumbnail cell background color, so I have now adjusted this color to match the page background color and readjusted the thumbnail margins and I've got the result I was looking for.

Paul

Offline

Board footer

Powered by FluxBB