center gallery titles under thumbnails
jkinglet
Registered Users Posts: 73 Big grins
Would like to center gallery title under the thumbnail and remove the folder icon from the page. Last year's question and CSS guidelines don't seem to work. Tried Advanced CSS under theme and CSS block on the page.
From Last year:"I'm having some trouble with the "Folders, Galleries, and Pages" content block....etc.) Trevor Martin wanted to know if he could center the gallery titles and remove the icon. This CSS from SM worked for him. Won't work for me a year later.
/* Hide the gallery name icon */
.sm-tiles-grid .sm-tiles-list .sm-tile-info .sm-tile-info-icon {
display: none;
}
/* Align the text in the center */
.sm-tiles-grid .sm-tiles-list .sm-tile-info .sm-tile-title {
text-align: center;
}
The Avian Zone Thanks!
From Last year:"I'm having some trouble with the "Folders, Galleries, and Pages" content block....etc.) Trevor Martin wanted to know if he could center the gallery titles and remove the icon. This CSS from SM worked for him. Won't work for me a year later.
/* Hide the gallery name icon */
.sm-tiles-grid .sm-tiles-list .sm-tile-info .sm-tile-info-icon {
display: none;
}
/* Align the text in the center */
.sm-tiles-grid .sm-tiles-list .sm-tile-info .sm-tile-title {
text-align: center;
}
The Avian Zone Thanks!
0
Comments
Never mind: found the CSS
/* Remove gallery icon + center gallery captions */
.sm-page-widget-galleries .sm-tile-type-icon {
display:none;
}
.sm-page-widget-galleries .sm-tile-info {
text-align:center;
}