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 2019-02-17 22:51:05

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Album Settings - Borders

In the  Album Settings > Thumbnail Grid > Gallery Style - Justified is it possible to have the borders larger than 24px. Also, have the top and bottom borders a different size ie; top and bottom 40px, sides 24px.

http://davidbuddphotography.com/BLnewsite/Prints/

Thanks

David

Offline

#2 2019-02-17 23:43:36

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

Re: Album Settings - Borders

Use custom css.

This will affect all albums

.gallery figure {
        border-width: 40px 24px;
}

This will affect only albums using the same album template you’re using for this album

.album-template-id-29 .gallery figure {
        border-width: 40px 24px;
}

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 2019-02-18 10:25:46

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Re: Album Settings - Borders

Excellent Rod...thanks

-D.

Offline

#4 2019-02-27 22:09:04

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Re: Album Settings - Borders

Rod...after reading through the documentation I am unable to find this in the album template that I wish to edit.

Advanced Customization ⇒ Custom Stylesheet ⇒ Enabled : On
Advanced Customization ⇒ Custom Stylesheet ⇒ Include File : file-name.css

I gather I need to upload the .css examples you supplied to backlight/custom/ccs

Thanks

-David

Offline

#5 2019-02-27 22:43:56

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

Re: Album Settings - Borders

outback wrote:

Rod...after reading through the documentation I am unable to find this in the album template that I wish to edit.

Advanced Customization ⇒ Custom Stylesheet ⇒ Enabled : On
Advanced Customization ⇒ Custom Stylesheet ⇒ Include File : file-name.css

I gather I need to upload the .css examples you supplied to backlight/custom/ccs

Thanks

-David

The Advanced Settings are in the Page Template, not the Album Template

Yes, upload your custom css file to backlight/custom/css


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

Offline

#6 2019-02-28 15:01:11

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Re: Album Settings - Borders

Rod, I enabled both Advanced Customization's for the page template that contains the album and uploaded the .css file to backlight/custom/css.

I've cleared the cache and republished the two images, but there's no change to the size of the borders.

http://davidbuddphotography.com/BLnewsite/Prints/

As you can gather coding is not one of my strong points. If you could tell me I might be going wrong it would be much appreciated.

Thanks

-David

Offline

#7 2019-02-28 23:08:04

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

Re: Album Settings - Borders

look in your border40.css file. You have bunch of ....stuff.. in it:

{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0

\f0\fs24 \cf0 .album-template-id-29 .gallery figure \{\
        border-width: 40px 24px;\
\}}

did you perhaps use a word processor to create the file? That's the only thing that I can think of that might add whatever all that is. Formatting?

anyway, be sure to use a plain text for any code files.


.album-template-id-29 .gallery figure {
        border-width: 40px 24px;
}

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

Offline

#8 2019-02-28 23:20:35

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Re: Album Settings - Borders

I used TextEdit ( Mac) and just typed in as per your sample...bit of a mystery that.

Anyway, will give it another shot...and hopefully no stuff-up's this time.

Thanks again for all your help.

-David

Offline

#9 2019-02-28 23:31:24

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

Re: Album Settings - Borders

I seem to remember something in the dim past about TextEdit..some issues with it....but I'm not a Mac user so that might have been a hallucination wink

If I recall, TextWrangler is a good, free text editor for Mac


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

Offline

#10 2019-02-28 23:45:19

outback
Member
From: Perth, Western Australia
Registered: 2013-07-15
Posts: 82
Website

Re: Album Settings - Borders

TextEdit was the problem. Formatted it in TextWrangler and now working OK....happy life. big_smile

Your book of choice CSS: The Missing Manual sounds like a good investment.

-D.

Offline

#11 2019-02-28 23:50:36

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

Re: Album Settings - Borders

I learned a lot from it. And the exercises were very useful. And it was fun, in the "I like math" sort of way wink


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

Offline

Board footer

Powered by FluxBB