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-11-21 17:37:47

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Metadata formatting

Is there any way to do some formatting for:

  • The metadata labels displayed in the gallery's feedback

  • Metadata Outlets under Output Settings > Publisher Setup > Metadata Outlets

I want to use a smaller font size for presenting the metadata outlets to ensure that the full content is visible

Is it possible to arrange all 6 Metadata one below the other?

Last edited by dvdfan001 (2015-11-21 18:11:25)

Offline

#2 2015-11-21 22:55:38

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

Re: Metadata formatting

You can probably style the text via custom CSS. use your browser's inspector to probe for the selectors.
As to arranging, that might also be possible with 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

#3 2015-11-22 01:22:27

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

Re: Metadata formatting

Looks like styling and rearranging can all be done using

.crg-metadata p 

this is what it is by default:

.crg-metadata p {
    float: left;
    font-size: 0.875em;
    margin: 0px 1% 1em 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 49%;
}

change float: left; to float: none;
adjust font as desired
adjust bottom margin as desired. for example:

.crg-metadata p {
    float: none;
    font-size: 0.875em;
    margin-bottom: 0.5em;
    
}

I've not tested this except in the inspector


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

Offline

#4 2015-11-22 02:36:52

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: Metadata formatting

Thanks for your input.
Can you please tell me which custom css file has to be changed? (css file in the crg Template?)
Thanks

Offline

#5 2015-11-22 03:14:04

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Metadata formatting

Don't edit the css files inside the template because they are overwritten with each version upgrade. There is a special facility called custom.css. More on that is in the docs at http://ce4.theturninggate.net/docs/doku … custom_css. In order that this works you need to enable phplugins http://ce4.theturninggate.net/docs/doku … _phplugins.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#6 2015-11-23 04:03:12

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

Re: Metadata formatting

I needed to add one more thing to the rule above. Here's the updated version:

.crg-metadata p {
    float: none;
    font-size: 0.65em;
    margin-bottom: 0.5em;
    width: 100%;
}

again, set font size and margin-bottom as needed.

and let us know if this works for you.


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

Offline

#7 2015-11-30 02:51:53

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: Metadata formatting

sorry for late response
works fine

Offline

Board footer

Powered by FluxBB