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.
You are not logged in.
Pages: 1
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
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
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
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
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
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
sorry for late response
works fine
Offline
Pages: 1